Index: src/factory.h |
=================================================================== |
--- src/factory.h (revision 2285) |
+++ src/factory.h (working copy) |
@@ -183,6 +183,10 @@ |
static Handle<JSObject> NewJSObject(Handle<JSFunction> constructor, |
PretenureFlag pretenure = NOT_TENURED); |
+ // JS global objects are pretenured. |
+ static Handle<JSGlobalObject> NewJSGlobalObject( |
+ Handle<JSFunction> constructor); |
+ |
// JS objects are pretenured when allocated by the bootstrapper and |
// runtime. |
static Handle<JSObject> NewJSObjectFromMap(Handle<Map> map); |