Index: src/compiler/js-typed-lowering.cc |
diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc |
index 168fb48cc093949777bf31d37e16f2cb2fed937e..8715fba4cde7fb5c9e8ab9d562a04c38154e2940 100644 |
--- a/src/compiler/js-typed-lowering.cc |
+++ b/src/compiler/js-typed-lowering.cc |
@@ -566,6 +566,10 @@ Reduction JSTypedLowering::ReduceJSStrictEqual(Node* node, bool invert) { |
return r.ChangeToPureOperator( |
simplified()->ReferenceEqual(Type::Receiver()), invert); |
} |
+ if (r.BothInputsAre(Type::Unique())) { |
+ return r.ChangeToPureOperator(simplified()->ReferenceEqual(Type::Unique()), |
+ invert); |
+ } |
if (r.BothInputsAre(Type::String())) { |
return r.ChangeToPureOperator(simplified()->StringEqual(), invert); |
} |