Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 1ca690753c23fa1f3beb6ed0c3974b31d4a986f3..601c7c05c33cdd1575f9f84b0cfcbdc260287d31 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -5756,32 +5756,22 @@ void StringCompareStub::GenerateCompareFlatAsciiStrings(MacroAssembler* masm, |
// Compare lengths (precomputed). |
__ bind(&compare_lengths); |
__ SmiTest(length_difference); |
-#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. |
__ Move(rax, Smi::FromInt(EQUAL)); |
__ 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); |
// Unequal comparison of left to right, either character or length. |
-#ifndef ENABLE_LATIN_1 |
- __ j(greater, &result_greater, Label::kNear); |
-#else |
__ j(above, &result_greater, Label::kNear); |
__ bind(&result_less); |
-#endif |
// Result is LESS. |
__ Move(rax, Smi::FromInt(LESS)); |