Index: src/arm64/macro-assembler-arm64.cc |
diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc |
index d7d0ab7502308f2687beb126076c70e4e3ca1905..9814a631b01fedbe6936109a105e0bfd3943d539 100644 |
--- a/src/arm64/macro-assembler-arm64.cc |
+++ b/src/arm64/macro-assembler-arm64.cc |
@@ -4161,15 +4161,17 @@ void MacroAssembler::PushSafepointRegisters() { |
} |
-void MacroAssembler::PushSafepointFPRegisters() { |
+void MacroAssembler::PushSafepointRegistersAndDoubles() { |
+ PushSafepointRegisters(); |
PushCPURegList(CPURegList(CPURegister::kFPRegister, kDRegSizeInBits, |
FPRegister::kAllocatableFPRegisters)); |
} |
-void MacroAssembler::PopSafepointFPRegisters() { |
+void MacroAssembler::PopSafepointRegistersAndDoubles() { |
PopCPURegList(CPURegList(CPURegister::kFPRegister, kDRegSizeInBits, |
FPRegister::kAllocatableFPRegisters)); |
+ PopSafepointRegisters(); |
} |
@@ -5118,6 +5120,14 @@ CPURegister UseScratchRegisterScope::AcquireNextAvailable( |
} |
+CPURegister UseScratchRegisterScope::UnsafeAcquire(CPURegList* available, |
+ const CPURegister& reg) { |
+ ASSERT(available->IncludesAliasOf(reg)); |
+ available->Remove(reg); |
+ return reg; |
+} |
+ |
+ |
#define __ masm-> |