Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 4d30a68d2df480ae48844c2fcb363d759d050cbb..16bae3ed173878f96883d7c8d562b2c09ba38ee3 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -651,6 +651,13 @@ void V8::MarkIndependent(i::Object** object) { |
} |
+void V8::MarkIndependent(i::Isolate* isolate, i::Object** object) { |
+ ASSERT(isolate == i::Isolate::Current()); |
+ LOG_API(isolate, "MarkIndependent"); |
+ isolate->global_handles()->MarkIndependent(object); |
+} |
+ |
+ |
void V8::MarkPartiallyDependent(i::Object** object) { |
i::Isolate* isolate = i::Isolate::Current(); |
LOG_API(isolate, "MarkPartiallyDependent"); |
@@ -658,6 +665,13 @@ void V8::MarkPartiallyDependent(i::Object** object) { |
} |
+void V8::MarkPartiallyDependent(i::Isolate* isolate, i::Object** object) { |
+ ASSERT(isolate == i::Isolate::Current()); |
+ LOG_API(isolate, "MarkPartiallyDependent"); |
+ isolate->global_handles()->MarkPartiallyDependent(object); |
+} |
+ |
+ |
bool V8::IsGlobalIndependent(i::Object** obj) { |
i::Isolate* isolate = i::Isolate::Current(); |
LOG_API(isolate, "IsGlobalIndependent"); |