Index: src/compiler/escape-analysis-reducer.cc |
diff --git a/src/compiler/escape-analysis-reducer.cc b/src/compiler/escape-analysis-reducer.cc |
index 67edd433a29b96caba344ea8684d0db90bca8c54..7415c70d3fc94413eaa776f786a00d67a208cf7b 100644 |
--- a/src/compiler/escape-analysis-reducer.cc |
+++ b/src/compiler/escape-analysis-reducer.cc |
@@ -61,8 +61,7 @@ Reduction EscapeAnalysisReducer::ReduceNode(Node* node) { |
break; |
} |
bool depends_on_object_state = false; |
- for (int i = 0; i < node->InputCount(); i++) { |
- Node* input = node->InputAt(i); |
+ for (Node* input : node->inputs()) { |
switch (input->opcode()) { |
case IrOpcode::kAllocate: |
case IrOpcode::kFinishRegion: |