Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index e9b2e659a0adf3c6e3af2d46ace1c3a1328e3b26..30c2f082534a5d41af240afbf37422d4dbba43c4 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -1576,6 +1576,9 @@ void CompareICStub::GenerateGeneric(MacroAssembler* masm) { |
// Call runtime on identical symbols since we need to throw a TypeError. |
__ cmpb(rcx, Immediate(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(rcx, Immediate(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. |