| Index: src/compiler/js-typed-lowering.cc
|
| diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc
|
| index 19268f0a8bf96298a33b1e30bf8552003ecdbc5a..b89929d79f8cb7195cbc8dbca2eb0f3c617bb7c7 100644
|
| --- a/src/compiler/js-typed-lowering.cc
|
| +++ b/src/compiler/js-typed-lowering.cc
|
| @@ -593,9 +593,10 @@ Reduction JSTypedLowering::ReduceJSStrictEqual(Node* node, bool invert) {
|
| return Replace(replacement);
|
| }
|
| }
|
| - if (r.OneInputCannotBe(Type::NumberOrString())) {
|
| - // For values with canonical representation (i.e. not string nor number) an
|
| - // empty type intersection means the values cannot be strictly equal.
|
| + if (r.OneInputCannotBe(Type::NumberOrSimdOrString())) {
|
| + // For values with canonical representation (i.e. neither String, nor
|
| + // Simd128Value nor Number) an empty type intersection means the values
|
| + // cannot be strictly equal.
|
| if (!r.left_type()->Maybe(r.right_type())) {
|
| Node* replacement = jsgraph()->BooleanConstant(invert);
|
| ReplaceWithValue(node, replacement);
|
|
|