Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1501)

Unified Diff: src/compiler/simplified-lowering.cc

Issue 2962503002: [turbofan] Fix an assertion in representation selection for BooleanNot. (Closed)
Patch Set: Relax the check even more. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/compiler/regress-736567.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/simplified-lowering.cc
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc
index b991381e5b5f3fed22e8c5fb04cf0326331a82af..a4bb8c6d7c2834b2b5d993fff00c35f4c63725e8 100644
--- a/src/compiler/simplified-lowering.cc
+++ b/src/compiler/simplified-lowering.cc
@@ -1569,8 +1569,7 @@ class RepresentationSelector {
node->AppendInput(jsgraph_->zone(), jsgraph_->FalseConstant());
NodeProperties::ChangeOp(node, lowering->machine()->WordEqual());
} else {
- DCHECK_EQ(MachineRepresentation::kNone,
- input_info->representation());
+ DCHECK(!TypeOf(node->InputAt(0))->IsInhabited());
DeferReplacement(node, lowering->jsgraph()->Int32Constant(0));
}
} else {
« no previous file with comments | « no previous file | test/mjsunit/compiler/regress-736567.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698