Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index 90a72ada64bb785e5f433e0ce9a82d608ceef496..9828b325f9b98ce953a4345ab98953d2ec4be74f 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -291,6 +291,8 @@ static void EmitIdenticalObjectComparison(MacroAssembler* masm, Label* slow, |
__ Branch(slow, greater, t0, Operand(FIRST_SPEC_OBJECT_TYPE)); |
// Call runtime on identical symbols since we need to throw a TypeError. |
__ Branch(slow, eq, t0, Operand(SYMBOL_TYPE)); |
+ // Call runtime on identical SIMD values since we must throw a TypeError. |
+ __ Branch(slow, eq, t0, Operand(FLOAT32X4_TYPE)); |
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. |
@@ -305,6 +307,8 @@ static void EmitIdenticalObjectComparison(MacroAssembler* masm, Label* slow, |
__ Branch(slow, greater, t0, Operand(FIRST_SPEC_OBJECT_TYPE)); |
// Call runtime on identical symbols since we need to throw a TypeError. |
__ Branch(slow, eq, t0, Operand(SYMBOL_TYPE)); |
+ // Call runtime on identical SIMD values since we must throw a TypeError. |
+ __ Branch(slow, eq, t0, Operand(FLOAT32X4_TYPE)); |
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 |