Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 96fa4fc49630424093eaa29874c118e95c34a115..49065f09f5e010088d5ac1ba789b6ec74c38c149 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -3728,7 +3728,7 @@ void MacroAssembler::EnterExitFrameEpilogue(int arg_stack_space, |
#endif |
// Optionally save all XMM registers. |
if (save_doubles) { |
- int space = XMMRegister::kMaxNumRegisters * kDoubleSize + |
+ int space = XMMRegister::kMaxNumAllocatableRegisters * kDoubleSize + |
mvstanton
2013/09/25 07:00:30
Could you do the same thing on ia32, using Registe
|
arg_stack_space * kPointerSize; |
subq(rsp, Immediate(space)); |
int offset = -2 * kPointerSize; |