Index: runtime/vm/scavenger.cc |
=================================================================== |
--- runtime/vm/scavenger.cc (revision 45220) |
+++ runtime/vm/scavenger.cc (working copy) |
@@ -499,7 +499,7 @@ |
MonitorLocker ml(page_space->tasks_lock()); |
if (page_space->tasks() == 0) { |
VerifyStoreBufferPointerVisitor verify_store_buffer_visitor(isolate, to_); |
- heap_->IterateOldPointers(&verify_store_buffer_visitor); |
+ heap_->old_space()->VisitObjectPointers(&verify_store_buffer_visitor); |
} |
} |
#endif // defined(DEBUG) |