Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index dddcd7dcf502bb3f3216763b9477dcf724a0299f..7286eca8dccbd6cc3b9f4094c932db537323b3c8 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -5978,6 +5978,22 @@ v8::Local<v8::Context> Isolate::GetCurrentContext() { |
} |
+void Isolate::SetObjectGroupId(const Persistent<Value>& object, |
+ UniqueId id) { |
+ i::Isolate* internal_isolate = reinterpret_cast<i::Isolate*>(this); |
+ internal_isolate->global_handles()->SetObjectGroupId( |
+ reinterpret_cast<i::Object**>(*object), id); |
+} |
+ |
+ |
+void Isolate::SetReferenceFromGroup(UniqueId id, |
+ const Persistent<Value>& object) { |
+ i::Isolate* internal_isolate = reinterpret_cast<i::Isolate*>(this); |
+ internal_isolate->global_handles() |
+ ->SetReferenceFromGroup(id, reinterpret_cast<i::Object**>(*object)); |
+} |
+ |
+ |
void V8::SetGlobalGCPrologueCallback(GCCallback callback) { |
i::Isolate* isolate = i::Isolate::Current(); |
if (IsDeadCheck(isolate, "v8::V8::SetGlobalGCPrologueCallback()")) return; |
@@ -7171,6 +7187,12 @@ size_t HeapProfiler::GetProfilerMemorySize() { |
} |
+void HeapProfiler::SetRetainedObjectInfo(UniqueId id, |
+ RetainedObjectInfo* info) { |
+ reinterpret_cast<i::HeapProfiler*>(this)->SetRetainedObjectInfo(id, info); |
+} |
+ |
+ |
v8::Testing::StressType internal::Testing::stress_type_ = |
v8::Testing::kStressTypeOpt; |