Index: src/x87/code-stubs-x87.cc |
diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc |
index ccf517394eb35d321208c8cf9ffdbabe1331b0f1..d630a87c7ed244c9f07a495b39ebc3919b7612a8 100644 |
--- a/src/x87/code-stubs-x87.cc |
+++ b/src/x87/code-stubs-x87.cc |
@@ -1397,6 +1397,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. |