Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 3217ca906b37cda09da77c2195f4b5eb9850e874..f492d7a916f04572d0c6fbbf131631504f3db4c3 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -255,8 +255,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); |
+ // Change the type of the argument into a JS object/function and reinitialize. |
+ void BecomeJSObject(Handle<JSReceiver> object); |
+ void BecomeJSFunction(Handle<JSReceiver> object); |
Handle<JSFunction> NewFunction(Handle<String> name, |
Handle<Object> prototype); |