Index: src/a64/regexp-macro-assembler-a64.h |
diff --git a/src/a64/regexp-macro-assembler-a64.h b/src/a64/regexp-macro-assembler-a64.h |
index 0f6b44b9fe97cdb48640858f1b13a2d788c04173..ff4f8daa86d4a085909c3a5edb97f37237e9c290 100644 |
--- a/src/a64/regexp-macro-assembler-a64.h |
+++ b/src/a64/regexp-macro-assembler-a64.h |
@@ -144,9 +144,9 @@ class RegExpMacroAssemblerA64: public NativeRegExpMacroAssembler { |
static const int kSuccessCounter = kInput - kPointerSize; |
// First position register address on the stack. Following positions are |
// below it. A position is a 32 bit value. |
- static const int kFirstRegisterOnStack = kSuccessCounter - kWRegSizeInBytes; |
+ static const int kFirstRegisterOnStack = kSuccessCounter - kWRegSize; |
// A capture is a 64 bit value holding two position. |
- static const int kFirstCaptureOnStack = kSuccessCounter - kXRegSizeInBytes; |
+ static const int kFirstCaptureOnStack = kSuccessCounter - kXRegSize; |
// Initial size of code buffer. |
static const size_t kRegExpCodeSize = 1024; |