Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index a6dfc26cfab5a83eadd45087b39bfd8355caad04..30e0881ccec7ceadc179120682714ef1892085d3 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -539,6 +539,13 @@ void V8::ClearWeak(i::Object** obj) { |
} |
+void V8::MarkIndependent(i::Object** object) { |
+ i::Isolate* isolate = i::Isolate::Current(); |
+ LOG_API(isolate, "MakeIndependent"); |
+ isolate->global_handles()->MarkIndependent(object); |
+} |
+ |
+ |
bool V8::IsGlobalNearDeath(i::Object** obj) { |
i::Isolate* isolate = i::Isolate::Current(); |
LOG_API(isolate, "IsGlobalNearDeath"); |