Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 39741f5b42a8708828c55b6b83b287eb485f232b..28e2f9285ef7b404a78063760a920c1cf7add9fd 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -769,6 +769,12 @@ i::Object** HandleScope::CreateHandle(i::Object* value) { |
} |
+i::Object** HandleScope::CreateHandle(i::Isolate* isolate, i::Object* value) { |
+ ASSERT(isolate == i::Isolate::Current()); |
+ return i::HandleScope::CreateHandle(value, isolate); |
+} |
+ |
+ |
i::Object** HandleScope::CreateHandle(i::HeapObject* value) { |
ASSERT(value->IsHeapObject()); |
return reinterpret_cast<i::Object**>( |