Index: src/x64/macro-assembler-x64.cc |
=================================================================== |
--- src/x64/macro-assembler-x64.cc (revision 6775) |
+++ src/x64/macro-assembler-x64.cc (working copy) |
@@ -1442,6 +1442,7 @@ |
// r13 is kRootRegister. |
push(r14); |
// r15 is kSmiConstantRegister |
+ STATIC_ASSERT(11 == kRegistersPushedByPushad); |
} |
@@ -1461,7 +1462,6 @@ |
void MacroAssembler::Dropad() { |
- const int kRegistersPushedByPushad = 11; |
addq(rsp, Immediate(kRegistersPushedByPushad * kPointerSize)); |
} |