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 { |