Temporarily remove unsound use of Maybe until we have a proper fix.
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
This commit is contained in:
parent
7045592947
commit
40a968bec4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user