Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 5b85a247d5bf32dbfb93e8294e815b919a25ead8..f4eabb640626b4b57ce6796f8b6f003cb54a31ba 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -3415,7 +3415,7 @@ void MacroAssembler::EnterExitFrameEpilogue(int arg_stack_space, |
arg_stack_space * kPointerSize; |
subq(rsp, Immediate(space)); |
int offset = -2 * kPointerSize; |
- for (int i = 0; i < XMMRegister::kNumAllocatableRegisters; i++) { |
+ for (int i = 0; i < XMMRegister::NumAllocatableRegisters(); i++) { |
XMMRegister reg = XMMRegister::FromAllocationIndex(i); |
movsd(Operand(rbp, offset - ((i + 1) * kDoubleSize)), reg); |
} |
@@ -3459,7 +3459,7 @@ void MacroAssembler::LeaveExitFrame(bool save_doubles) { |
// r15 : argv |
if (save_doubles) { |
int offset = -2 * kPointerSize; |
- for (int i = 0; i < XMMRegister::kNumAllocatableRegisters; i++) { |
+ for (int i = 0; i < XMMRegister::NumAllocatableRegisters(); i++) { |
XMMRegister reg = XMMRegister::FromAllocationIndex(i); |
movsd(reg, Operand(rbp, offset - ((i + 1) * kDoubleSize))); |
} |