Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index 3acefdf163c029692ef2b413b34c16b3ecdc6c57..3c606c81b13d045545613d98b11fe16e69455b48 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -1394,8 +1394,7 @@ class RepresentationSelector { |
node->AppendInput(jsgraph_->zone(), jsgraph_->Int32Constant(0)); |
NodeProperties::ChangeOp(node, lowering->machine()->Word32Equal()); |
} else { |
- DCHECK_EQ(input_info->representation(), |
- MachineRepresentation::kTagged); |
+ DCHECK(CanBeTaggedPointer(input_info->representation())); |
// BooleanNot(x: kRepTagged) => WordEqual(x, #false) |
node->AppendInput(jsgraph_->zone(), jsgraph_->FalseConstant()); |
NodeProperties::ChangeOp(node, lowering->machine()->WordEqual()); |