Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 25f197b82e6c6385bbd0703d7605dbcd5319b534..2ee18bcb75762b8a4b4054d6e53d5dadbb641713 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -939,10 +939,11 @@ Handle<GlobalObject> Factory::NewGlobalObject( |
-Handle<JSObject> Factory::NewJSObjectFromMap(Handle<Map> map) { |
+Handle<JSObject> Factory::NewJSObjectFromMap(Handle<Map> map, |
+ PretenureFlag pretenure) { |
CALL_HEAP_FUNCTION( |
isolate(), |
- isolate()->heap()->AllocateJSObjectFromMap(*map, NOT_TENURED), |
+ isolate()->heap()->AllocateJSObjectFromMap(*map, pretenure), |
JSObject); |
} |