Index: src/compiler/node.h |
diff --git a/src/compiler/node.h b/src/compiler/node.h |
index 57a0ebb72e247e23a4c41b9375b3aff53b8eb7c1..a9edab8b6bb7f2713445069f88f54c17c5fc575b 100644 |
--- a/src/compiler/node.h |
+++ b/src/compiler/node.h |
@@ -282,7 +282,7 @@ class Edge FINAL { |
friend class Node::UseEdges::iterator; |
friend class Node::InputEdges::iterator; |
- explicit Edge(Node::Input* input) : input_(input) { DCHECK_NOT_NULL(input); } |
+ explicit Edge(Node::Input* input) : input_(input) { DCHECK(input); } |
Node::Input* input_; |
}; |
@@ -401,7 +401,7 @@ class Node::UseEdges::iterator FINAL { |
} |
bool operator!=(const iterator& other) const { return !(*this == other); } |
iterator& operator++() { |
- DCHECK_NOT_NULL(current_); |
+ DCHECK(current_); |
current_ = next_; |
next_ = current_ ? current_->next : nullptr; |
return *this; |
@@ -451,7 +451,7 @@ class Node::Uses::const_iterator FINAL { |
return other.current_ != current_; |
} |
const_iterator& operator++() { |
- DCHECK_NOT_NULL(current_); |
+ DCHECK(current_); |
current_ = current_->next; |
return *this; |
} |