Index: test/cctest/compiler/simplified-graph-builder.cc |
diff --git a/test/cctest/compiler/simplified-graph-builder.cc b/test/cctest/compiler/simplified-graph-builder.cc |
index 8d6844f28e9dcb96b63c0ad2cc04e209af16031a..4e8a5e3546a0fb84f6c6f9cca85ea9707087c622 100644 |
--- a/test/cctest/compiler/simplified-graph-builder.cc |
+++ b/test/cctest/compiler/simplified-graph-builder.cc |
@@ -46,7 +46,7 @@ void SimplifiedGraphBuilder::End() { |
Node* SimplifiedGraphBuilder::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); |
DCHECK(!OperatorProperties::HasContextInput(op)); |
DCHECK(!OperatorProperties::HasFrameStateInput(op)); |