Index: src/mips/regexp-macro-assembler-mips.h |
diff --git a/src/mips/regexp-macro-assembler-mips.h b/src/mips/regexp-macro-assembler-mips.h |
index d167f624b678d3396522bd88fd46595a078147f3..562d3fcd7605d3cfbb15408f25c97bac47760565 100644 |
--- a/src/mips/regexp-macro-assembler-mips.h |
+++ b/src/mips/regexp-macro-assembler-mips.h |
@@ -115,7 +115,7 @@ class RegExpMacroAssemblerMIPS: public NativeRegExpMacroAssembler { |
virtual void ReadStackPointerFromRegister(int reg); |
virtual void SetCurrentPositionFromEnd(int by); |
virtual void SetRegister(int register_index, int to); |
- virtual void Succeed(); |
+ virtual bool Succeed(); |
virtual void WriteCurrentPositionToRegister(int reg, int cp_offset); |
virtual void ClearRegisters(int reg_from, int reg_to); |
virtual void WriteStackPointerToRegister(int reg); |
@@ -141,7 +141,8 @@ class RegExpMacroAssemblerMIPS: public NativeRegExpMacroAssembler { |
static const int kStackFrameHeader = kReturnAddress + kPointerSize; |
// Stack parameters placed by caller. |
static const int kRegisterOutput = kStackFrameHeader + 20; |
- static const int kStackHighEnd = kRegisterOutput + kPointerSize; |
+ static const int kNumOutputRegisters = kRegisterOutput + kPointerSize; |
+ static const int kStackHighEnd = kNumOutputRegisters + kPointerSize; |
static const int kDirectCall = kStackHighEnd + kPointerSize; |
static const int kIsolate = kDirectCall + kPointerSize; |
@@ -153,10 +154,10 @@ class RegExpMacroAssemblerMIPS: public NativeRegExpMacroAssembler { |
static const int kInputString = kStartIndex - kPointerSize; |
// When adding local variables remember to push space for them in |
// the frame in GetCode. |
- static const int kInputStartMinusOne = kInputString - kPointerSize; |
- static const int kAtStart = kInputStartMinusOne - kPointerSize; |
+ static const int kSuccessfulCaptures = kInputString - kPointerSize; |
+ static const int kInputStartMinusOne = kSuccessfulCaptures - kPointerSize; |
// First register address. Following registers are below it on the stack. |
- static const int kRegisterZero = kAtStart - kPointerSize; |
+ static const int kRegisterZero = kInputStartMinusOne - kPointerSize; |
// Initial size of code buffer. |
static const size_t kRegExpCodeSize = 1024; |