Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 005fb97513d0277325c9ff516612aeb922f1949c..e3a01d391298d66e5c5604ea244c7e1404827efc 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -255,6 +255,9 @@ static void EmitIdenticalObjectComparison(MacroAssembler* masm, Label* 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(FLOAT32X4_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. |
@@ -273,6 +276,9 @@ static void EmitIdenticalObjectComparison(MacroAssembler* masm, Label* 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(FLOAT32X4_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 |