Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 4a6ed90c8be070f1783177729f0a4c721ebb43ac..2a8c74ecae6708e69a76f67b479145cbaa8dbbee 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -4042,7 +4042,8 @@ void MacroAssembler::EnterExitFrameEpilogue(int arg_stack_space, |
arg_stack_space * kRegisterSize; |
subp(rsp, Immediate(space)); |
int offset = -2 * kPointerSize; |
- const RegisterConfiguration* config = RegisterConfiguration::ArchDefault(); |
+ const RegisterConfiguration* config = |
+ RegisterConfiguration::ArchDefault(RegisterConfiguration::CRANKSHAFT); |
for (int i = 0; i < config->num_allocatable_double_registers(); ++i) { |
DoubleRegister reg = |
DoubleRegister::from_code(config->GetAllocatableDoubleCode(i)); |
@@ -4088,7 +4089,8 @@ void MacroAssembler::LeaveExitFrame(bool save_doubles, bool pop_arguments) { |
// r15 : argv |
if (save_doubles) { |
int offset = -2 * kPointerSize; |
- const RegisterConfiguration* config = RegisterConfiguration::ArchDefault(); |
+ const RegisterConfiguration* config = |
+ RegisterConfiguration::ArchDefault(RegisterConfiguration::CRANKSHAFT); |
for (int i = 0; i < config->num_allocatable_double_registers(); ++i) { |
DoubleRegister reg = |
DoubleRegister::from_code(config->GetAllocatableDoubleCode(i)); |