Index: src/compiler/graph-builder.cc |
diff --git a/src/compiler/graph-builder.cc b/src/compiler/graph-builder.cc |
index 65ce345023a64851f98f9d8998ecdcb4ecee4772..3c90f4b634254218b5dbd919400f9f9abf7c400a 100644 |
--- a/src/compiler/graph-builder.cc |
+++ b/src/compiler/graph-builder.cc |
@@ -45,7 +45,7 @@ Node** StructuredGraphBuilder::EnsureInputBufferSize(int size) { |
Node* StructuredGraphBuilder::MakeNode(const Operator* op, |
int value_input_count, |
Node** value_inputs, bool incomplete) { |
- DCHECK(op->InputCount() == value_input_count); |
+ DCHECK(op->ValueInputCount() == value_input_count); |
bool has_context = OperatorProperties::HasContextInput(op); |
bool has_framestate = OperatorProperties::HasFrameStateInput(op); |