| Index: src/compiler/js-inlining.cc
|
| diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc
|
| index 6c7b66681dec852471b938ef82b54c738db2c8ba..947f720c879950d6234def5af5cbf6f28243b32f 100644
|
| --- a/src/compiler/js-inlining.cc
|
| +++ b/src/compiler/js-inlining.cc
|
| @@ -235,7 +235,7 @@ Reduction Inlinee::InlineAtCall(JSGraph* jsgraph, Node* call) {
|
| Node* use = edge.from();
|
| switch (use->opcode()) {
|
| case IrOpcode::kParameter: {
|
| - int index = 1 + OpParameter<int>(use->op());
|
| + int index = 1 + ParameterIndexOf(use->op());
|
| if (index < inliner_inputs && index < inlinee_context_index) {
|
| // There is an input from the call, and the index is a value
|
| // projection but not the context, so rewire the input.
|
|
|