Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 9ba48ee5024fa1cb3a59c85864ff88604e8339b0..ac96668d995b396bcc997f90a601e6e7d99c16f0 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -892,6 +892,13 @@ Handle<JSProxy> Factory::NewJSProxy(Handle<Object> handler, |
} |
+void Factory::BecomeJSObject(Handle<JSProxy> object) { |
+ CALL_HEAP_FUNCTION_VOID( |
+ isolate(), |
+ isolate()->heap()->ReinitializeJSProxyAsJSObject(*object)); |
+} |
+ |
+ |
Handle<SharedFunctionInfo> Factory::NewSharedFunctionInfo( |
Handle<String> name, |
int number_of_literals, |