Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index f5e02d5540a624d0b19fc26de643b77a0b990d8f..500f2f8f1aab06e7458930c6cee1a9945a9361af 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -235,6 +235,8 @@ |
__ Branch(slow, greater, t4, Operand(FIRST_JS_RECEIVER_TYPE)); |
// Call runtime on identical symbols since we need to throw a TypeError. |
__ Branch(slow, eq, t4, Operand(SYMBOL_TYPE)); |
+ // Call runtime on identical SIMD values since we must throw a TypeError. |
+ __ Branch(slow, eq, t4, Operand(SIMD128_VALUE_TYPE)); |
} else { |
__ Branch(&heap_number, eq, t4, Operand(HEAP_NUMBER_TYPE)); |
// Comparing JS objects with <=, >= is complicated. |
@@ -242,6 +244,8 @@ |
__ Branch(slow, greater, t4, Operand(FIRST_JS_RECEIVER_TYPE)); |
// Call runtime on identical symbols since we need to throw a TypeError. |
__ Branch(slow, eq, t4, Operand(SYMBOL_TYPE)); |
+ // Call runtime on identical SIMD values since we must throw a TypeError. |
+ __ Branch(slow, eq, t4, Operand(SIMD128_VALUE_TYPE)); |
// Normally here we fall through to return_equal, but undefined is |
// special: (undefined == undefined) == true, but |
// (undefined <= undefined) == false! See ECMAScript 11.8.5. |