Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index e43073c1e8465186c8dfafef1c64b84f1285bf8c..9811591460a1e8644cd0a131103261e382591b12 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -5941,6 +5941,17 @@ void V8::SetRetainedObjectInfo(Isolate* exported_isolate, |
} |
+void V8::SetObjectGroupRepresentative( |
+ Isolate* exported_isolate, |
+ UniqueId id, |
+ const Persistent<Object>& object) { |
+ i::Isolate* isolate = reinterpret_cast<i::Isolate*>(exported_isolate); |
+ isolate->global_handles()->SetObjectGroupRepresentative( |
+ id, |
+ i::Handle<i::HeapObject>::cast(Utils::OpenHandle(*object)).location()); |
+} |
+ |
+ |
void V8::AddImplicitReferences(Persistent<Object> parent, |
Persistent<Value>* children, |
size_t length) { |
@@ -5953,6 +5964,15 @@ void V8::AddImplicitReferences(Persistent<Object> parent, |
} |
+void V8::AddImplicitReference(Isolate* exported_isolate, |
+ UniqueId id, |
+ const Persistent<Value>& object) { |
+ i::Isolate* isolate = reinterpret_cast<i::Isolate*>(exported_isolate); |
+ isolate->global_handles() |
+ ->AddImplicitReference(id, reinterpret_cast<i::Object**>(*object)); |
+} |
+ |
+ |
intptr_t Isolate::AdjustAmountOfExternalAllocatedMemory( |
intptr_t change_in_bytes) { |
i::Heap* heap = reinterpret_cast<i::Isolate*>(this)->heap(); |