Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index b7a5b2e4ec45e1642a6ad578e9f98604f490d806..37841e3ddff72fb9ba513e3fb4b191266619e8ce 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -812,6 +812,11 @@ i::Object** V8::CopyPersistent(i::Object** obj) { |
return result.location(); |
} |
+void V8::RegisterExternallyReferencedObject(i::Object** object, |
+ i::Isolate* isolate) { |
+ isolate->heap()->RegisterExternallyReferencedObject(object); |
+} |
+ |
void V8::MakeWeak(i::Object** location, void* parameter, |
int internal_field_index1, int internal_field_index2, |
WeakCallbackInfo<void>::Callback weak_callback) { |