Index: src/factory.cc |
=================================================================== |
--- src/factory.cc (revision 2317) |
+++ src/factory.cc (working copy) |
@@ -619,10 +619,10 @@ |
} |
-Handle<JSGlobalObject> Factory::NewJSGlobalObject( |
+Handle<GlobalObject> Factory::NewGlobalObject( |
Handle<JSFunction> constructor) { |
- CALL_HEAP_FUNCTION(Heap::AllocateJSGlobalObject(*constructor), |
- JSGlobalObject); |
+ CALL_HEAP_FUNCTION(Heap::AllocateGlobalObject(*constructor), |
+ GlobalObject); |
} |