Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 06ae122c5aae16184004bba139ae06b5e0e8a085..bd8f09f63661b5e36ecc204a11e5103341e886f2 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -1705,6 +1705,9 @@ void CompareICStub::GenerateGeneric(MacroAssembler* masm) { |
// Call runtime on identical symbols since we need to throw a TypeError. |
__ cmpb(ecx, static_cast<uint8_t>(SYMBOL_TYPE)); |
__ j(equal, &runtime_call, Label::kFar); |
+ // Call runtime on identical SIMD values since we must throw a TypeError. |
+ __ cmpb(ecx, static_cast<uint8_t>(FLOAT32X4_TYPE)); |
+ __ j(equal, &runtime_call, Label::kFar); |
if (is_strong(strength())) { |
// We have already tested for smis and heap numbers, so if both |
// arguments are not strings we must proceed to the slow case. |