Index: src/arm64/macro-assembler-arm64.cc |
diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc |
index c893dcad330e2708ad1c5fd7816619ad702ca18a..5e8abe72157f5c82931ff139997ae5fe1e927a54 100644 |
--- a/src/arm64/macro-assembler-arm64.cc |
+++ b/src/arm64/macro-assembler-arm64.cc |
@@ -9,7 +9,6 @@ |
#include "src/bootstrapper.h" |
#include "src/codegen.h" |
#include "src/debug/debug.h" |
-#include "src/register-configuration.h" |
#include "src/runtime/runtime.h" |
#include "src/arm64/frames-arm64.h" |
@@ -3985,16 +3984,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(); |
} |