Index: src/a64/deoptimizer-a64.cc |
diff --git a/src/a64/deoptimizer-a64.cc b/src/a64/deoptimizer-a64.cc |
index 40e3191fe9018f67a3098791cb73f4b71ae8a18c..57c30b2eee6da4076e45a98eef174ab37fb0de20 100644 |
--- a/src/a64/deoptimizer-a64.cc |
+++ b/src/a64/deoptimizer-a64.cc |
@@ -149,7 +149,7 @@ void Deoptimizer::EntryGenerator::Generate() { |
// Save all allocatable floating point registers. |
CPURegList saved_fp_registers(CPURegister::kFPRegister, kDRegSize, |
- 0, FPRegister::NumAllocatableRegisters() - 1); |
+ FPRegister::kAllocatableFPRegisters); |
__ PushCPURegList(saved_fp_registers); |
// We save all the registers expcept jssp, sp and lr. |