| Index: runtime/vm/object_graph.cc
|
| ===================================================================
|
| --- runtime/vm/object_graph.cc (revision 45220)
|
| +++ runtime/vm/object_graph.cc (working copy)
|
| @@ -148,7 +148,7 @@
|
|
|
| static void UnmarkAll(Isolate* isolate) {
|
| Unmarker unmarker(isolate);
|
| - isolate->heap()->IterateObjects(&unmarker);
|
| + isolate->heap()->VisitObjects(&unmarker);
|
| }
|
|
|
| private:
|
| @@ -367,7 +367,7 @@
|
| Object& scratch = Object::Handle();
|
| NoSafepointScope no_safepoint_scope_;
|
| InboundReferencesVisitor visitor(isolate(), obj->raw(), references, &scratch);
|
| - isolate()->heap()->IterateObjects(&visitor);
|
| + isolate()->heap()->VisitObjects(&visitor);
|
| return visitor.length();
|
| }
|
|
|
|
|