Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 7922d6c3c7ae15ac7313f87ff13571628750aaca..dc1f1859850efe5b556a484c23f788f3003d9607 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -460,7 +460,7 @@ HValue* CodeStubGraphBuilder<FastCloneShallowObjectStub>::BuildCodeStub() { |
HValue* size_in_bytes = Add<HConstant>(size); |
HInstruction* object = Add<HAllocate>(size_in_bytes, HType::JSObject(), |
- isolate()->heap()->GetPretenureMode(), JS_OBJECT_TYPE); |
+ NOT_TENURED, JS_OBJECT_TYPE); |
for (int i = 0; i < object_size; i += kPointerSize) { |
HObjectAccess access = HObjectAccess::ForJSObjectOffset(i); |