Index: src/compiler/control-reducer.cc |
diff --git a/src/compiler/control-reducer.cc b/src/compiler/control-reducer.cc |
index b7dec3622fd357c15078b428a1268c7d1f6dde92..105bdfe2017115dc2c0a82cc62147b5ed146692d 100644 |
--- a/src/compiler/control-reducer.cc |
+++ b/src/compiler/control-reducer.cc |
@@ -296,7 +296,7 @@ class ControlReducerImpl { |
for (size_t j = 0; j < nodes.size(); j++) { |
Node* node = nodes[j]; |
for (Node* const input : node->inputs()) { |
- CHECK_NE(NULL, input); |
+ CHECK(input); |
} |
for (Node* const use : node->uses()) { |
CHECK(marked.IsReachableFromEnd(use)); |
@@ -319,7 +319,7 @@ class ControlReducerImpl { |
// Recurse on an input if necessary. |
for (Node* const input : node->inputs()) { |
- CHECK_NE(NULL, input); |
+ DCHECK(input); |
if (Recurse(input)) return; |
} |