| Index: src/x87/code-stubs-x87.cc
|
| diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc
|
| index 1cecdf56d5b2e5efd6c3e4477dedb5dd4b6613bf..d5dc4c191e16489cf2faf9848c39dd80a1ecce5f 100644
|
| --- a/src/x87/code-stubs-x87.cc
|
| +++ b/src/x87/code-stubs-x87.cc
|
| @@ -1390,7 +1390,6 @@ void CompareICStub::GenerateGeneric(MacroAssembler* masm) {
|
| Immediate(isolate()->factory()->heap_number_map()));
|
| __ j(equal, &generic_heap_number_comparison, Label::kNear);
|
| if (cc != equal) {
|
| - Label not_simd;
|
| __ mov(ecx, FieldOperand(eax, HeapObject::kMapOffset));
|
| __ movzx_b(ecx, FieldOperand(ecx, Map::kInstanceTypeOffset));
|
| // Call runtime on identical JSObjects. Otherwise return equal.
|
| @@ -1400,11 +1399,8 @@ void CompareICStub::GenerateGeneric(MacroAssembler* masm) {
|
| __ cmpb(ecx, static_cast<uint8_t>(SYMBOL_TYPE));
|
| __ j(equal, &runtime_call, Label::kFar);
|
| // Call runtime on identical SIMD values since we must throw a TypeError.
|
| - __ cmpb(ecx, static_cast<uint8_t>(FIRST_SIMD_VALUE_TYPE));
|
| - __ j(less, ¬_simd, Label::kFar);
|
| - __ cmpb(ecx, static_cast<uint8_t>(LAST_SIMD_VALUE_TYPE));
|
| - __ j(less_equal, &runtime_call, Label::kFar);
|
| - __ bind(¬_simd);
|
| + __ cmpb(ecx, static_cast<uint8_t>(SIMD128_VALUE_TYPE));
|
| + __ j(equal, &runtime_call, Label::kFar);
|
| if (is_strong(strength())) {
|
| // We have already tested for smis and heap numbers, so if both
|
| // arguments are not strings we must proceed to the slow case.
|
|
|