Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 8513a68fa915fa98ad69f5b544941287e4446c38..4e4f2c572c88097c74185c2ebc48a22cb6387e6f 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -3432,7 +3432,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::NumAllocatableRegisters(); i++) { |
+ for (int i = 0; i < XMMRegister::kNumAllocatableRegisters; i++) { |
XMMRegister reg = XMMRegister::FromAllocationIndex(i); |
movsd(Operand(rbp, offset - ((i + 1) * kDoubleSize)), reg); |
} |
@@ -3476,7 +3476,7 @@ void MacroAssembler::LeaveExitFrame(bool save_doubles) { |
// r15 : argv |
if (save_doubles) { |
int offset = -2 * kPointerSize; |
- for (int i = 0; i < XMMRegister::NumAllocatableRegisters(); i++) { |
+ for (int i = 0; i < XMMRegister::kNumAllocatableRegisters; i++) { |
XMMRegister reg = XMMRegister::FromAllocationIndex(i); |
movsd(reg, Operand(rbp, offset - ((i + 1) * kDoubleSize))); |
} |