| Index: src/x64/code-stubs-x64.cc
|
| diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc
|
| index 20bc660bfb4a986b0f60bcd9c54fc161fc2459bc..3e6a5fd370e989d361dda513248b2de2a8662b91 100644
|
| --- a/src/x64/code-stubs-x64.cc
|
| +++ b/src/x64/code-stubs-x64.cc
|
| @@ -1565,7 +1565,6 @@ void CompareICStub::GenerateGeneric(MacroAssembler* masm) {
|
| factory->heap_number_map());
|
| __ j(equal, &heap_number, Label::kNear);
|
| if (cc != equal) {
|
| - Label not_simd;
|
| __ movp(rcx, FieldOperand(rax, HeapObject::kMapOffset));
|
| __ movzxbl(rcx, FieldOperand(rcx, Map::kInstanceTypeOffset));
|
| // Call runtime on identical objects. Otherwise return equal.
|
| @@ -1575,11 +1574,8 @@ void CompareICStub::GenerateGeneric(MacroAssembler* masm) {
|
| __ cmpb(rcx, Immediate(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(rcx, Immediate(static_cast<uint8_t>(FIRST_SIMD_VALUE_TYPE)));
|
| - __ j(less, ¬_simd, Label::kFar);
|
| - __ cmpb(rcx, Immediate(static_cast<uint8_t>(LAST_SIMD_VALUE_TYPE)));
|
| - __ j(less_equal, &runtime_call, Label::kFar);
|
| - __ bind(¬_simd);
|
| + __ cmpb(rcx, Immediate(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.
|
|
|