Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index c9b3862be5027216830f95536cfade85d77b1f7e..8d3b30706da8a713973b2e881739d6c10e0849f2 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -2586,6 +2586,11 @@ class V8_EXPORT Object : public Value { |
*/ |
Local<Value> CallAsConstructor(int argc, Handle<Value> argv[]); |
+ /** |
+ * Return the isolate to which the Object belongs to. |
+ */ |
+ Isolate* GetIsolate(); |
+ |
static Local<Object> New(Isolate* isolate); |
V8_INLINE static Object* Cast(Value* obj); |