Index: runtime/vm/verifier.cc |
diff --git a/runtime/vm/verifier.cc b/runtime/vm/verifier.cc |
index 3c9fa66542745ed4ed6accf86a2a8b3cdb701b86..556a7380a32d51b1aaeab05a10b05d7001ad364a 100644 |
--- a/runtime/vm/verifier.cc |
+++ b/runtime/vm/verifier.cc |
@@ -78,9 +78,9 @@ void VerifyPointersVisitor::VerifyPointers(MarkExpectation mark_expectation) { |
isolate->heap()->CreateAllocatedObjectSet(mark_expectation); |
VerifyPointersVisitor visitor(isolate, allocated_set); |
// Visit all strongly reachable objects. |
- isolate->VisitObjectPointers(&visitor, |
- false, // skip prologue weak handles |
- StackFrameIterator::kValidateFrames); |
+ isolate->IterateObjectPointers(&visitor, |
+ false, // skip prologue weak handles |
+ StackFrameIterator::kValidateFrames); |
VerifyWeakPointersVisitor weak_visitor(&visitor); |
// Visit weak handles and prologue weak handles. |
isolate->VisitWeakPersistentHandles(&weak_visitor, |