Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 7dee66f6de955f76e1100f2cd1ccde8e7f1475f1..a8634acdd6fec2ae833c02d6d5a3d97e9c90b9dc 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -832,6 +832,15 @@ Handle<JSArray> Factory::NewJSArrayWithElements(Handle<FixedArray> elements, |
} |
+Handle<JSProxy> Factory::NewJSProxy(Handle<Object> handler, |
+ Handle<Object> prototype) { |
+ CALL_HEAP_FUNCTION( |
+ isolate(), |
+ isolate()->heap()->AllocateJSProxy(*handler, *prototype), |
+ JSProxy); |
+} |
+ |
+ |
Handle<SharedFunctionInfo> Factory::NewSharedFunctionInfo( |
Handle<String> name, |
int number_of_literals, |