| Index: src/regexp/mips64/regexp-macro-assembler-mips64.cc
|
| diff --git a/src/regexp/mips64/regexp-macro-assembler-mips64.cc b/src/regexp/mips64/regexp-macro-assembler-mips64.cc
|
| index 40f29740eb4f770022ae269ae4eb19698aa704b0..08843784563db0aa110135b9d3150be3aebfc9a9 100644
|
| --- a/src/regexp/mips64/regexp-macro-assembler-mips64.cc
|
| +++ b/src/regexp/mips64/regexp-macro-assembler-mips64.cc
|
| @@ -848,9 +848,12 @@ Handle<HeapObject> RegExpMacroAssemblerMIPS::GetCode(Handle<String> source) {
|
| __ Branch(&exit_label_, eq, current_input_offset(),
|
| Operand(zero_reg));
|
| // Advance current position after a zero-length match.
|
| + Label advance;
|
| + __ bind(&advance);
|
| __ Daddu(current_input_offset(),
|
| current_input_offset(),
|
| Operand((mode_ == UC16) ? 2 : 1));
|
| + if (global_unicode()) CheckNotInSurrogatePair(0, &advance);
|
| }
|
|
|
| __ Branch(&load_char_start_regexp);
|
|
|