Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index 848fc2217254d4837676596972b27676701c7134..e5436c23e939fd0428b767b774a034cd57867aaf 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -266,6 +266,9 @@ static void EmitIdenticalObjectComparison(MacroAssembler* masm, Label* 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(FLOAT32X4_TYPE)); |
+ __ beq(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. |
@@ -284,6 +287,9 @@ static void EmitIdenticalObjectComparison(MacroAssembler* masm, Label* 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(FLOAT32X4_TYPE)); |
+ __ beq(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 |