X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/93a3786624b2768d89bfa27e46598dc64e2fb70a..ed1e77d3adeb83d26fd1dfb16dd84cabdcefd250:/heap/CopyVisitor.cpp diff --git a/heap/CopyVisitor.cpp b/heap/CopyVisitor.cpp index 281d4bd..5dd8419 100644 --- a/heap/CopyVisitor.cpp +++ b/heap/CopyVisitor.cpp @@ -26,11 +26,13 @@ #include "config.h" #include "CopyVisitor.h" +#include "CopiedSpaceInlines.h" #include "CopyVisitorInlines.h" #include "CopyWorkList.h" #include "GCThreadSharedData.h" #include "JSCell.h" #include "JSObject.h" +#include "JSCInlines.h" #include namespace JSC { @@ -52,10 +54,10 @@ void CopyVisitor::copyFromShared() CopyWorkList& workList = block->workList(); for (CopyWorkList::iterator it = workList.begin(); it != workList.end(); ++it) - visitCell(*it); + visitItem(*it); ASSERT(!block->liveBytes()); - m_shared.m_copiedSpace->recycleEvacuatedBlock(block); + m_shared.m_copiedSpace->recycleEvacuatedBlock(block, m_shared.m_vm->heap.operationInProgress()); } m_shared.getNextBlocksToCopy(next, end); }