Index: src/compiler/js-inlining-heuristic.cc |
diff --git a/src/compiler/js-inlining-heuristic.cc b/src/compiler/js-inlining-heuristic.cc |
index 0118b92446a8462cda8915c1039a31222ffc73d8..ce7b33ba9f9288ae77541852039ebf9734e7d4b8 100644 |
--- a/src/compiler/js-inlining-heuristic.cc |
+++ b/src/compiler/js-inlining-heuristic.cc |
@@ -67,9 +67,9 @@ Reduction JSInliningHeuristic::Reduce(Node* node) { |
// Stop inlinining once the maximum allowed level is reached. |
int level = 0; |
- for (Node* frame_state = NodeProperties::GetFrameStateInput(node, 0); |
+ for (Node* frame_state = NodeProperties::GetFrameStateInput(node); |
frame_state->opcode() == IrOpcode::kFrameState; |
- frame_state = NodeProperties::GetFrameStateInput(frame_state, 0)) { |
+ frame_state = NodeProperties::GetFrameStateInput(frame_state)) { |
if (++level > FLAG_max_inlining_levels) return NoChange(); |
} |