Index: runtime/vm/raw_object.cc |
diff --git a/runtime/vm/raw_object.cc b/runtime/vm/raw_object.cc |
index cb5714eea2f29788fc9dfb2ec97e4693c9e34d97..9b96266b50ef01f50c306aeccf98756bfc1369ee 100644 |
--- a/runtime/vm/raw_object.cc |
+++ b/runtime/vm/raw_object.cc |
@@ -967,4 +967,13 @@ intptr_t RawJSRegExp::VisitJSRegExpPointers(RawJSRegExp* raw_obj, |
return JSRegExp::InstanceSize(length); |
} |
+ |
+intptr_t RawWeakProperty::VisitWeakPropertyPointers( |
+ RawWeakProperty* raw_obj, ObjectPointerVisitor* visitor) { |
+ // Make sure that we got here with the tagged pointer as this. |
+ ASSERT(raw_obj->IsHeapObject()); |
+ visitor->VisitPointers(raw_obj->from(), raw_obj->to()); |
+ return WeakProperty::InstanceSize(); |
+} |
+ |
} // namespace dart |