Index: src/arm64/macro-assembler-arm64.cc |
diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc |
index 7aed57853bea070cd9a4d8a3be174ec93384ee9d..3c42194e0102fd4ee38a3b1cf46126557243f3d9 100644 |
--- a/src/arm64/macro-assembler-arm64.cc |
+++ b/src/arm64/macro-assembler-arm64.cc |
@@ -10,7 +10,6 @@ |
#include "src/codegen.h" |
#include "src/cpu-profiler.h" |
#include "src/debug/debug.h" |
-#include "src/register-configuration.h" |
#include "src/runtime/runtime.h" |
#include "src/arm64/frames-arm64.h" |
@@ -3978,16 +3977,14 @@ |
void MacroAssembler::PushSafepointRegistersAndDoubles() { |
PushSafepointRegisters(); |
- PushCPURegList(CPURegList( |
- CPURegister::kFPRegister, kDRegSizeInBits, |
- RegisterConfiguration::ArchDefault()->allocatable_double_codes_mask())); |
+ PushCPURegList(CPURegList(CPURegister::kFPRegister, kDRegSizeInBits, |
+ FPRegister::kAllocatableFPRegisters)); |
} |
void MacroAssembler::PopSafepointRegistersAndDoubles() { |
- PopCPURegList(CPURegList( |
- CPURegister::kFPRegister, kDRegSizeInBits, |
- RegisterConfiguration::ArchDefault()->allocatable_double_codes_mask())); |
+ PopCPURegList(CPURegList(CPURegister::kFPRegister, kDRegSizeInBits, |
+ FPRegister::kAllocatableFPRegisters)); |
PopSafepointRegisters(); |
} |