Index: src/arm64/macro-assembler-arm64.h |
diff --git a/src/arm64/macro-assembler-arm64.h b/src/arm64/macro-assembler-arm64.h |
index a54ed30a2b07180f7a151ab1d96975559f190353..e676e2f7daba3e445043a15dda82924c0c031879 100644 |
--- a/src/arm64/macro-assembler-arm64.h |
+++ b/src/arm64/macro-assembler-arm64.h |
@@ -1728,8 +1728,8 @@ class MacroAssembler : public Assembler { |
void PushSafepointRegisters(); |
void PopSafepointRegisters(); |
- void PushSafepointFPRegisters(); |
- void PopSafepointFPRegisters(); |
+ void PushSafepointRegistersAndDoubles(); |
+ void PopSafepointRegistersAndDoubles(); |
// Store value in register src in the safepoint stack slot for register dst. |
void StoreToSafepointRegisterSlot(Register src, Register dst) { |
@@ -2215,11 +2215,17 @@ class UseScratchRegisterScope { |
FPRegister AcquireS() { return AcquireNextAvailable(availablefp_).S(); } |
FPRegister AcquireD() { return AcquireNextAvailable(availablefp_).D(); } |
+ Register UnsafeAcquire(const Register& reg) { |
+ return UnsafeAcquire(available_, reg); |
+ } |
+ |
Register AcquireSameSizeAs(const Register& reg); |
FPRegister AcquireSameSizeAs(const FPRegister& reg); |
private: |
static CPURegister AcquireNextAvailable(CPURegList* available); |
+ static CPURegister UnsafeAcquire(CPURegList* available, |
+ const CPURegister& reg); |
// Available scratch registers. |
CPURegList* available_; // kRegister |