Index: src/compiler/js-typed-lowering.cc |
diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc |
index 39104bb50d2f5093669d6d627e312a0970d2c0d5..be7c330cc556cfc6521e66735a14fb2655ed530b 100644 |
--- a/src/compiler/js-typed-lowering.cc |
+++ b/src/compiler/js-typed-lowering.cc |
@@ -383,6 +383,7 @@ Reduction JSTypedLowering::ReduceJSStrictEqual(Node* node, bool invert) { |
: jsgraph()->TrueConstant()); |
} |
} |
+ /* TODO(neis): This is currently unsound. |
if (!r.left_type()->Maybe(r.right_type())) { |
// Type intersection is empty; === is always false unless both |
// inputs could be strings (one internalized and one not). |
@@ -391,6 +392,7 @@ Reduction JSTypedLowering::ReduceJSStrictEqual(Node* node, bool invert) { |
: jsgraph()->FalseConstant()); |
} |
} |
+ */ |
if (r.OneInputIs(Type::Undefined())) { |
return r.ChangeToPureOperator( |
simplified()->ReferenceEqual(Type::Undefined()), invert); |