Index: src/factory.cc |
=================================================================== |
--- src/factory.cc (revision 2285) |
+++ src/factory.cc (working copy) |
@@ -619,6 +619,14 @@ |
} |
+Handle<JSGlobalObject> Factory::NewJSGlobalObject( |
+ Handle<JSFunction> constructor) { |
+ CALL_HEAP_FUNCTION(Heap::AllocateJSGlobalObject(*constructor), |
+ JSGlobalObject); |
+} |
+ |
+ |
+ |
Handle<JSObject> Factory::NewJSObjectFromMap(Handle<Map> map) { |
CALL_HEAP_FUNCTION(Heap::AllocateJSObjectFromMap(*map, NOT_TENURED), |
JSObject); |