| Index: src/compiler/js-inlining.cc
|
| diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc
|
| index 0664105341646a5674eb3d2194e0939c615f7a43..447bdcde8c390ae4637467287236b9b7c0196f74 100644
|
| --- a/src/compiler/js-inlining.cc
|
| +++ b/src/compiler/js-inlining.cc
|
| @@ -57,7 +57,7 @@ class JSCallAccessor {
|
|
|
| Node* frame_state() {
|
| // Both, {JSCallFunction} and {JSCallConstruct}, have frame state.
|
| - return NodeProperties::GetFrameStateInput(call_, 0);
|
| + return NodeProperties::GetFrameStateInput(call_);
|
| }
|
|
|
| int formal_arguments() {
|
| @@ -212,11 +212,11 @@ Node* JSInliner::CreateTailCallerFrameState(Node* node, Node* frame_state) {
|
|
|
| // If we are inlining a tail call drop caller's frame state and an
|
| // arguments adaptor if it exists.
|
| - frame_state = NodeProperties::GetFrameStateInput(frame_state, 0);
|
| + frame_state = NodeProperties::GetFrameStateInput(frame_state);
|
| if (frame_state->opcode() == IrOpcode::kFrameState) {
|
| FrameStateInfo const& frame_info = OpParameter<FrameStateInfo>(frame_state);
|
| if (frame_info.type() == FrameStateType::kArgumentsAdaptor) {
|
| - frame_state = NodeProperties::GetFrameStateInput(frame_state, 0);
|
| + frame_state = NodeProperties::GetFrameStateInput(frame_state);
|
| }
|
| }
|
|
|
|
|