diff options
Diffstat (limited to 'deps/v8/src/regexp/ia32/regexp-macro-assembler-ia32.cc')
-rw-r--r-- | deps/v8/src/regexp/ia32/regexp-macro-assembler-ia32.cc | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/deps/v8/src/regexp/ia32/regexp-macro-assembler-ia32.cc b/deps/v8/src/regexp/ia32/regexp-macro-assembler-ia32.cc index f9015287f9..7f6bd5e296 100644 --- a/deps/v8/src/regexp/ia32/regexp-macro-assembler-ia32.cc +++ b/deps/v8/src/regexp/ia32/regexp-macro-assembler-ia32.cc @@ -205,9 +205,8 @@ void RegExpMacroAssemblerIA32::CheckGreedyLoop(Label* on_equal) { __ bind(&fallthrough); } - void RegExpMacroAssemblerIA32::CheckNotBackReferenceIgnoreCase( - int start_reg, bool read_backward, bool unicode, Label* on_no_match) { + int start_reg, bool read_backward, Label* on_no_match) { Label fallthrough; __ mov(edx, register_location(start_reg)); // Index of start of capture __ mov(ebx, register_location(start_reg + 1)); // Index of end of capture @@ -314,18 +313,11 @@ void RegExpMacroAssemblerIA32::CheckNotBackReferenceIgnoreCase( // Address byte_offset1 - Address captured substring's start. // Address byte_offset2 - Address of current character position. // size_t byte_length - length of capture in bytes(!) -// Isolate* isolate or 0 if unicode flag. + // Isolate* isolate. // Set isolate. -#ifdef V8_INTL_SUPPORT - if (unicode) { - __ mov(Operand(esp, 3 * kSystemPointerSize), Immediate(0)); - } else // NOLINT -#endif // V8_INTL_SUPPORT - { - __ mov(Operand(esp, 3 * kSystemPointerSize), - Immediate(ExternalReference::isolate_address(isolate()))); - } + __ mov(Operand(esp, 3 * kSystemPointerSize), + Immediate(ExternalReference::isolate_address(isolate()))); // Set byte_length. __ mov(Operand(esp, 2 * kSystemPointerSize), ebx); // Set byte_offset2. @@ -366,7 +358,6 @@ void RegExpMacroAssemblerIA32::CheckNotBackReferenceIgnoreCase( __ bind(&fallthrough); } - void RegExpMacroAssemblerIA32::CheckNotBackReference(int start_reg, bool read_backward, Label* on_no_match) { |