Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index b2c7f84541fccdab7ff2c1b15b277696c7929b8d..97e2b087aed8988019db9b2d21c3b7e4c51ffd48 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1554,6 +1554,18 @@ Handle<JSProxy> Factory::NewJSProxy(Handle<Object> handler, |
} |
+Handle<JSProxy> Factory::NewJSFunctionProxy(Handle<Object> handler, |
+ Handle<Object> call_trap, |
+ Handle<Object> construct_trap, |
+ Handle<Object> prototype) { |
+ CALL_HEAP_FUNCTION( |
+ isolate(), |
+ isolate()->heap()->AllocateJSFunctionProxy( |
+ *handler, *call_trap, *construct_trap, *prototype), |
+ JSProxy); |
+} |
+ |
+ |
void Factory::BecomeJSObject(Handle<JSReceiver> object) { |
CALL_HEAP_FUNCTION_VOID( |
isolate(), |