Index: src/factory.cc |
=================================================================== |
--- src/factory.cc (revision 7800) |
+++ src/factory.cc (working copy) |
@@ -832,6 +832,15 @@ |
} |
+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, |