Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 1b27540317ccd4ad3b138b59de2fa43c75864698..b0c1573956fb10bf1beee4d95dda67f61fbc04aa 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -6739,12 +6739,8 @@ void StringCompareStub::GenerateCompareFlatAsciiStrings(MacroAssembler* masm, |
// Compare lengths - strings up to min-length are equal. |
__ bind(&compare_lengths); |
__ test(length_delta, length_delta); |
-#ifndef ENABLE_LATIN_1 |
- __ j(not_zero, &result_not_equal, Label::kNear); |
-#else |
Label length_not_equal; |
__ j(not_zero, &length_not_equal, Label::kNear); |
-#endif |
// Result is EQUAL. |
STATIC_ASSERT(EQUAL == 0); |
@@ -6753,19 +6749,13 @@ void StringCompareStub::GenerateCompareFlatAsciiStrings(MacroAssembler* masm, |
__ ret(0); |
Label result_greater; |
-#ifdef ENABLE_LATIN_1 |
Label result_less; |
__ bind(&length_not_equal); |
__ j(greater, &result_greater, Label::kNear); |
__ jmp(&result_less, Label::kNear); |
-#endif |
__ bind(&result_not_equal); |
-#ifndef ENABLE_LATIN_1 |
- __ j(greater, &result_greater, Label::kNear); |
-#else |
__ j(above, &result_greater, Label::kNear); |
__ bind(&result_less); |
-#endif |
// Result is LESS. |
__ Set(eax, Immediate(Smi::FromInt(LESS))); |