Index: src/compiler/bytecode-graph-builder.cc |
diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc |
index 5f1d47393e64353fe78ea682a6fc0d9048e665a5..2893961d4d1a5dffec71a84a0aceb7bc99abc2dd 100644 |
--- a/src/compiler/bytecode-graph-builder.cc |
+++ b/src/compiler/bytecode-graph-builder.cc |
@@ -348,9 +348,10 @@ bool BytecodeGraphBuilder::Environment::StateValuesRequireUpdate( |
if (*state_values == nullptr) { |
return true; |
} |
- DCHECK_EQ((*state_values)->InputCount(), count); |
+ Node::Inputs inputs = (*state_values)->inputs(); |
+ DCHECK_EQ(inputs.count(), count); |
for (int i = 0; i < count; i++) { |
- if ((*state_values)->InputAt(i) != values[i]) { |
+ if (inputs[i] != values[i]) { |
return true; |
} |
} |