Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index 676b724c3dac69d4c5f7f8041ae56bbb54633573..5d6988c46a0806c9fc0617abd02ed8e27dfb070e 100644 |
--- a/runtime/vm/object.h |
+++ b/runtime/vm/object.h |
@@ -235,6 +235,8 @@ CLASS_LIST_NO_OBJECT(DEFINE_CLASS_TESTER); |
return VMHandles::IsZoneHandle(reinterpret_cast<uword>(this)); |
} |
+ static RawObject* Clone(const Object& src, Heap::Space space = Heap::kNew); |
+ |
static Object& Handle(Isolate* isolate, RawObject* raw_ptr) { |
Object* obj = reinterpret_cast<Object*>(VMHandles::AllocateHandle(isolate)); |
obj->SetRaw(raw_ptr); |