Index: src/x64/regexp-macro-assembler-x64.cc |
diff --git a/src/x64/regexp-macro-assembler-x64.cc b/src/x64/regexp-macro-assembler-x64.cc |
index c819c71cb95c56fbf956cc7b8f29aa212034b6db..d0163e185140e27c7fd18bc2f76e8c0d4c32856b 100644 |
--- a/src/x64/regexp-macro-assembler-x64.cc |
+++ b/src/x64/regexp-macro-assembler-x64.cc |
@@ -692,12 +692,12 @@ Handle<HeapObject> RegExpMacroAssemblerX64::GetCode(Handle<String> source) { |
#else |
// GCC passes arguments in rdi, rsi, rdx, rcx, r8, r9 (and then on stack). |
// Push register parameters on stack for reference. |
- ASSERT_EQ(kInputString, -1 * kPointerSize); |
- ASSERT_EQ(kStartIndex, -2 * kPointerSize); |
- ASSERT_EQ(kInputStart, -3 * kPointerSize); |
- ASSERT_EQ(kInputEnd, -4 * kPointerSize); |
- ASSERT_EQ(kRegisterOutput, -5 * kPointerSize); |
- ASSERT_EQ(kNumOutputRegisters, -6 * kPointerSize); |
+ ASSERT_EQ(kInputString, -1 * kRegisterSize); |
+ ASSERT_EQ(kStartIndex, -2 * kRegisterSize); |
+ ASSERT_EQ(kInputStart, -3 * kRegisterSize); |
+ ASSERT_EQ(kInputEnd, -4 * kRegisterSize); |
+ ASSERT_EQ(kRegisterOutput, -5 * kRegisterSize); |
+ ASSERT_EQ(kNumOutputRegisters, -6 * kRegisterSize); |
__ pushq(rdi); |
__ pushq(rsi); |
__ pushq(rdx); |