| Index: src/arm/code-stubs-arm.cc
|
| diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc
|
| index b10fcadc3732da770fcc42b8e1c50143d7ac525f..0c7440f5c099644448d1c1029067c2c09857b536 100644
|
| --- a/src/arm/code-stubs-arm.cc
|
| +++ b/src/arm/code-stubs-arm.cc
|
| @@ -249,7 +249,6 @@ static void EmitIdenticalObjectComparison(MacroAssembler* masm, Label* slow,
|
| // They are both equal and they are not both Smis so both of them are not
|
| // Smis. If it's not a heap number, then return equal.
|
| if (cond == lt || cond == gt) {
|
| - Label not_simd;
|
| // Call runtime on identical JSObjects.
|
| __ CompareObjectType(r0, r4, r4, FIRST_SPEC_OBJECT_TYPE);
|
| __ b(ge, slow);
|
| @@ -257,11 +256,8 @@ static void EmitIdenticalObjectComparison(MacroAssembler* masm, Label* slow,
|
| __ cmp(r4, Operand(SYMBOL_TYPE));
|
| __ b(eq, slow);
|
| // Call runtime on identical SIMD values since we must throw a TypeError.
|
| - __ cmp(r4, Operand(FIRST_SIMD_VALUE_TYPE));
|
| - __ b(lt, ¬_simd);
|
| - __ cmp(r4, Operand(LAST_SIMD_VALUE_TYPE));
|
| - __ b(le, slow);
|
| - __ bind(¬_simd);
|
| + __ cmp(r4, Operand(SIMD128_VALUE_TYPE));
|
| + __ b(eq, slow);
|
| if (is_strong(strength)) {
|
| // Call the runtime on anything that is converted in the semantics, since
|
| // we need to throw a TypeError. Smis have already been ruled out.
|
| @@ -275,18 +271,14 @@ static void EmitIdenticalObjectComparison(MacroAssembler* masm, Label* slow,
|
| __ b(eq, &heap_number);
|
| // Comparing JS objects with <=, >= is complicated.
|
| if (cond != eq) {
|
| - Label not_simd;
|
| __ cmp(r4, Operand(FIRST_SPEC_OBJECT_TYPE));
|
| __ b(ge, slow);
|
| // Call runtime on identical symbols since we need to throw a TypeError.
|
| __ cmp(r4, Operand(SYMBOL_TYPE));
|
| __ b(eq, slow);
|
| // Call runtime on identical SIMD values since we must throw a TypeError.
|
| - __ cmp(r4, Operand(FIRST_SIMD_VALUE_TYPE));
|
| - __ b(lt, ¬_simd);
|
| - __ cmp(r4, Operand(LAST_SIMD_VALUE_TYPE));
|
| - __ b(le, slow);
|
| - __ bind(¬_simd);
|
| + __ cmp(r4, Operand(SIMD128_VALUE_TYPE));
|
| + __ b(eq, slow);
|
| if (is_strong(strength)) {
|
| // Call the runtime on anything that is converted in the semantics,
|
| // since we need to throw a TypeError. Smis and heap numbers have
|
|
|