Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index 8c4f5f7cdabc5adfbf582168eab6583285cd7a09..57d3b47fbb70fe045b3d40ee570537c33076de8a 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -205,6 +205,9 @@ |
// Call runtime on identical symbols since we need to throw a TypeError. |
__ cmpi(r7, Operand(SYMBOL_TYPE)); |
__ beq(slow); |
+ // Call runtime on identical SIMD values since we must throw a TypeError. |
+ __ cmpi(r7, Operand(SIMD128_VALUE_TYPE)); |
+ __ beq(slow); |
} else { |
__ CompareObjectType(r3, r7, r7, HEAP_NUMBER_TYPE); |
__ beq(&heap_number); |
@@ -214,6 +217,9 @@ |
__ bge(slow); |
// Call runtime on identical symbols since we need to throw a TypeError. |
__ cmpi(r7, Operand(SYMBOL_TYPE)); |
+ __ beq(slow); |
+ // Call runtime on identical SIMD values since we must throw a TypeError. |
+ __ cmpi(r7, Operand(SIMD128_VALUE_TYPE)); |
__ beq(slow); |
// Normally here we fall through to return_equal, but undefined is |
// special: (undefined == undefined) == true, but |