Index: runtime/vm/object.cc |
=================================================================== |
--- runtime/vm/object.cc (revision 45220) |
+++ runtime/vm/object.cc (working copy) |
@@ -832,7 +832,7 @@ |
PremarkingVisitor premarker(isolate); |
isolate->heap()->WriteProtect(false); |
ASSERT(isolate->heap()->UsedInWords(Heap::kNew) == 0); |
- isolate->heap()->IterateOldObjects(&premarker); |
+ isolate->heap()->old_space()->VisitObjects(&premarker); |
isolate->heap()->WriteProtect(true); |
} |