Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 19f09a15ce3ddae09ed05b06cf49a98b39f2f377..19f3827931fc6fe7be5ada6167bbf01618dc5f37 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -253,6 +253,9 @@ class Factory { |
Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype); |
+ // Change the type of the argument into a regular JS object and reinitialize. |
+ void BecomeJSObject(Handle<JSProxy> object); |
+ |
Handle<JSFunction> NewFunction(Handle<String> name, |
Handle<Object> prototype); |