Index: src/compiler/graph.cc |
diff --git a/src/compiler/graph.cc b/src/compiler/graph.cc |
index 1de712efccd8d84c24a8af27be83e70834f6ee66..7e320fe220c452e1e1b8ddfc12539b6f8f8c0661 100644 |
--- a/src/compiler/graph.cc |
+++ b/src/compiler/graph.cc |
@@ -32,7 +32,7 @@ void Graph::Decorate(Node* node) { |
Node* Graph::NewNode(const Operator* op, int input_count, Node** inputs, |
bool incomplete) { |
- DCHECK_LE(op->InputCount(), input_count); |
+ DCHECK_LE(op->ValueInputCount(), input_count); |
Node* result = Node::New(this, input_count, inputs, incomplete); |
result->Initialize(op); |
if (!incomplete) { |