Index: src/arm64/macro-assembler-arm64.cc |
diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc |
index a9377c80ab2b70108dfc54b36cae6da095055e0b..742ff9c83d54a52463ff67485b0fd437041927bc 100644 |
--- a/src/arm64/macro-assembler-arm64.cc |
+++ b/src/arm64/macro-assembler-arm64.cc |
@@ -3988,14 +3988,16 @@ void MacroAssembler::PushSafepointRegistersAndDoubles() { |
PushSafepointRegisters(); |
PushCPURegList(CPURegList( |
CPURegister::kFPRegister, kDRegSizeInBits, |
- RegisterConfiguration::ArchDefault()->allocatable_double_codes_mask())); |
+ RegisterConfiguration::ArchDefault(RegisterConfiguration::CRANKSHAFT) |
+ ->allocatable_double_codes_mask())); |
} |
void MacroAssembler::PopSafepointRegistersAndDoubles() { |
PopCPURegList(CPURegList( |
CPURegister::kFPRegister, kDRegSizeInBits, |
- RegisterConfiguration::ArchDefault()->allocatable_double_codes_mask())); |
+ RegisterConfiguration::ArchDefault(RegisterConfiguration::CRANKSHAFT) |
+ ->allocatable_double_codes_mask())); |
PopSafepointRegisters(); |
} |