Index: src/ia32/regexp-macro-assembler-ia32.cc |
diff --git a/src/ia32/regexp-macro-assembler-ia32.cc b/src/ia32/regexp-macro-assembler-ia32.cc |
index bb0e0adb7ec4fdb1c094f6828fae879adaf0fdb3..d8f2e8f0e777f1989b41e6cb3780b236b313beb6 100644 |
--- a/src/ia32/regexp-macro-assembler-ia32.cc |
+++ b/src/ia32/regexp-macro-assembler-ia32.cc |
@@ -344,9 +344,6 @@ void RegExpMacroAssemblerIA32::CheckNotBackReferenceIgnoreCase( |
__ or_(eax, 0x20); // Convert match character to lower-case. |
__ lea(ecx, Operand(eax, -'a')); |
__ cmp(ecx, static_cast<int32_t>('z' - 'a')); // Is eax a lowercase letter? |
-#ifndef ENABLE_LATIN_1 |
- __ j(above, &fail); // Weren't letters anyway. |
-#else |
Label convert_capture; |
__ j(below_equal, &convert_capture); // In range 'a'-'z'. |
// Latin-1: Check for values in range [224,254] but not 247. |
@@ -356,7 +353,6 @@ void RegExpMacroAssemblerIA32::CheckNotBackReferenceIgnoreCase( |
__ cmp(ecx, Immediate(247 - 224)); // Check for 247. |
__ j(equal, &fail); |
__ bind(&convert_capture); |
-#endif |
// Also convert capture character. |
__ movzx_b(ecx, Operand(edx, 0)); |
__ or_(ecx, 0x20); |