Index: runtime/vm/gc_marker.h |
diff --git a/runtime/vm/gc_marker.h b/runtime/vm/gc_marker.h |
index 4d46fd52eb76783264592b6b8815bb802535ad9c..6ff5ae3c9c5b24ab11ea9bdb8cfebedb7f927f86 100644 |
--- a/runtime/vm/gc_marker.h |
+++ b/runtime/vm/gc_marker.h |
@@ -13,6 +13,7 @@ namespace dart { |
class Heap; |
class Isolate; |
class MarkingVisitor; |
+class ObjectPointerVisitor; |
class PageSpace; |
// The class GCMarker is used to mark reachable old generation objects as part |
@@ -26,7 +27,8 @@ class GCMarker : public ValueObject { |
private: |
void Prologue(Isolate* isolate); |
- void IterateRoots(Isolate* isolate, MarkingVisitor* visitor); |
+ void IterateRoots(Isolate* isolate, ObjectPointerVisitor* visitor); |
+ void IterateWeakRoots(Isolate* isolate, ObjectPointerVisitor* visitor); |
void DrainMarkingStack(Isolate* isolate, MarkingVisitor* visitor); |
Heap* heap_; |