Index: src/regexp/mips64/regexp-macro-assembler-mips64.h |
diff --git a/src/regexp/mips64/regexp-macro-assembler-mips64.h b/src/regexp/mips64/regexp-macro-assembler-mips64.h |
index 265bf773eb2f2fca05730471996648c19897a28e..9a8ca179d57e0503299392d0e1a397afa96aea4a 100644 |
--- a/src/regexp/mips64/regexp-macro-assembler-mips64.h |
+++ b/src/regexp/mips64/regexp-macro-assembler-mips64.h |
@@ -33,9 +33,11 @@ class RegExpMacroAssemblerMIPS: public NativeRegExpMacroAssembler { |
// A "greedy loop" is a loop that is both greedy and with a simple |
// body. It has a particularly simple implementation. |
virtual void CheckGreedyLoop(Label* on_tos_equals_current_position); |
- virtual void CheckNotAtStart(Label* on_not_at_start); |
- virtual void CheckNotBackReference(int start_reg, Label* on_no_match); |
+ virtual void CheckNotAtStart(int cp_offset, Label* on_not_at_start); |
+ virtual void CheckNotBackReference(int start_reg, bool read_backward, |
+ Label* on_no_match); |
virtual void CheckNotBackReferenceIgnoreCase(int start_reg, |
+ bool read_backward, |
Label* on_no_match); |
virtual void CheckNotCharacter(uint32_t c, Label* on_not_equal); |
virtual void CheckNotCharacterAfterAnd(uint32_t c, |
@@ -125,9 +127,9 @@ class RegExpMacroAssemblerMIPS: public NativeRegExpMacroAssembler { |
// When adding local variables remember to push space for them in |
// the frame in GetCode. |
static const int kSuccessfulCaptures = kInputString - kPointerSize; |
- static const int kInputStartMinusOne = kSuccessfulCaptures - kPointerSize; |
+ static const int kStringStartMinusOne = kSuccessfulCaptures - kPointerSize; |
// First register address. Following registers are below it on the stack. |
- static const int kRegisterZero = kInputStartMinusOne - kPointerSize; |
+ static const int kRegisterZero = kStringStartMinusOne - kPointerSize; |
#elif defined(MIPS_ABI_O32) |
// Offsets from frame_pointer() of function parameters and stored registers. |
@@ -158,9 +160,9 @@ class RegExpMacroAssemblerMIPS: public NativeRegExpMacroAssembler { |
// When adding local variables remember to push space for them in |
// the frame in GetCode. |
static const int kSuccessfulCaptures = kInputString - kPointerSize; |
- static const int kInputStartMinusOne = kSuccessfulCaptures - kPointerSize; |
+ static const int kStringStartMinusOne = kSuccessfulCaptures - kPointerSize; |
// First register address. Following registers are below it on the stack. |
- static const int kRegisterZero = kInputStartMinusOne - kPointerSize; |
+ static const int kRegisterZero = kStringStartMinusOne - kPointerSize; |
#else |
# error "undefined MIPS ABI" |