Temporarily remove unsound use of Maybe until we have a proper fix.
authorneis@chromium.org <neis@chromium.org>
Tue, 30 Sep 2014 10:37:47 +0000 (10:37 +0000)
committerneis@chromium.org <neis@chromium.org>
Tue, 30 Sep 2014 10:37:47 +0000 (10:37 +0000)
R=rossberg@chromium.org
BUG=

Review URL: https://codereview.chromium.org/609073002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24321 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/compiler/js-typed-lowering.cc

index e6610a7..40854ab 100644 (file)
@@ -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);