Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 724c8433b4d0ecc1760030baf15c8a617213e375..adfffd45e6c56713be4d2d9ccd7a8a443ea6f1fa 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -5981,6 +5981,31 @@ 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 Isolate::SetReference(const Persistent<Object>& parent, |
+ const Persistent<Value>& child) { |
+ i::Isolate* internal_isolate = reinterpret_cast<i::Isolate*>(this); |
+ internal_isolate->global_handles()->SetReference( |
+ i::Handle<i::HeapObject>::cast(Utils::OpenHandle(*parent)).location(), |
+ reinterpret_cast<i::Object**>(*child)); |
+} |
+ |
+ |
void V8::SetGlobalGCPrologueCallback(GCCallback callback) { |
i::Isolate* isolate = i::Isolate::Current(); |
if (IsDeadCheck(isolate, "v8::V8::SetGlobalGCPrologueCallback()")) return; |
@@ -7174,6 +7199,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; |