Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index 18b9703046d095e0ca047abd5b686dd1bd56453f..303dcd53eea1f6c87d3b7f43ef2adcb49d74ccc5 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -233,6 +233,8 @@ |
__ Branch(slow, greater, t0, Operand(FIRST_JS_RECEIVER_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(SIMD128_VALUE_TYPE)); |
} else { |
__ Branch(&heap_number, eq, t0, Operand(HEAP_NUMBER_TYPE)); |
// Comparing JS objects with <=, >= is complicated. |
@@ -240,6 +242,8 @@ |
__ Branch(slow, greater, t0, Operand(FIRST_JS_RECEIVER_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(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. |