Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 5cb2e9c206d39a65661882054c74ea137ff24cb9..131cbb8f5086b5fad31e282bc4bbfea6ceb737d4 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -4385,7 +4385,7 @@ void LCodeGen::DoStringAdd(LStringAdd* instr) { |
ASSERT(ToRegister(instr->left()).is(rdx)); |
ASSERT(ToRegister(instr->right()).is(rax)); |
StringAddStub stub(instr->hydrogen()->flags(), |
- isolate()->heap()->GetPretenureMode()); |
+ instr->hydrogen()->pretenure_flag()); |
CallCode(stub.GetCode(isolate()), RelocInfo::CODE_TARGET, instr); |
} |