| Index: src/compiler/js-call-reducer.cc
|
| diff --git a/src/compiler/js-call-reducer.cc b/src/compiler/js-call-reducer.cc
|
| index 6c71983f8b9ec8c2862146124efbd6e92fd04d21..54ce5fa9230858f82bee40b78943a9925e61dc57 100644
|
| --- a/src/compiler/js-call-reducer.cc
|
| +++ b/src/compiler/js-call-reducer.cc
|
| @@ -129,7 +129,7 @@ Reduction JSCallReducer::ReduceFunctionPrototypeApply(Node* node) {
|
| // we can only optimize this in case the {node} was already inlined into
|
| // some other function (and same for the {arg_array}).
|
| CreateArgumentsType type = CreateArgumentsTypeOf(arg_array->op());
|
| - Node* frame_state = NodeProperties::GetFrameStateInput(arg_array, 0);
|
| + Node* frame_state = NodeProperties::GetFrameStateInput(arg_array);
|
| Node* outer_state = frame_state->InputAt(kFrameStateOuterStateInput);
|
| if (outer_state->opcode() != IrOpcode::kFrameState) return NoChange();
|
| FrameStateInfo outer_info = OpParameter<FrameStateInfo>(outer_state);
|
|
|