Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 1fe9fabc008b9b87a6aa2e0ca85976c99d36b34a..61f94bea487a4acef7e811964bfb9985f42bc890 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -2866,7 +2866,7 @@ void CEntryStub::GenerateCore(MacroAssembler* masm, |
__ j(zero, &failure_returned); |
// Exit the JavaScript to C++ exit frame. |
- __ LeaveExitFrame(); |
+ __ LeaveExitFrame(save_doubles_); |
__ ret(0); |
// Handling of failure. |
@@ -2975,7 +2975,7 @@ void CEntryStub::Generate(MacroAssembler* masm) { |
#else |
int arg_stack_space = 0; |
#endif |
- __ EnterExitFrame(arg_stack_space); |
+ __ EnterExitFrame(arg_stack_space, save_doubles_); |
// rax: Holds the context at this point, but should not be used. |
// On entry to code generated by GenerateCore, it must hold |