| Index: src/compiler/instruction-selector.cc
|
| diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc
|
| index 733624e86622f16e253309a0b1749fd004efed77..23f3688840b0ae369379e4d6e28656bff10ac8eb 100644
|
| --- a/src/compiler/instruction-selector.cc
|
| +++ b/src/compiler/instruction-selector.cc
|
| @@ -1060,6 +1060,11 @@ void InstructionSelector::AddFrameStateInputs(
|
| Node* parameters = state->InputAt(0);
|
| Node* locals = state->InputAt(1);
|
| Node* stack = state->InputAt(2);
|
| + Node* context = state->InputAt(3);
|
| +
|
| + DCHECK_EQ(IrOpcode::kStateValues, parameters->op()->opcode());
|
| + DCHECK_EQ(IrOpcode::kStateValues, locals->op()->opcode());
|
| + DCHECK_EQ(IrOpcode::kStateValues, stack->op()->opcode());
|
|
|
| DCHECK_EQ(descriptor->parameters_count(), parameters->InputCount());
|
| DCHECK_EQ(descriptor->locals_count(), locals->InputCount());
|
| @@ -1069,6 +1074,7 @@ void InstructionSelector::AddFrameStateInputs(
|
| for (int i = 0; i < descriptor->parameters_count(); i++) {
|
| inputs->push_back(UseOrImmediate(&g, parameters->InputAt(i)));
|
| }
|
| + inputs->push_back(UseOrImmediate(&g, context));
|
| for (int i = 0; i < descriptor->locals_count(); i++) {
|
| inputs->push_back(UseOrImmediate(&g, locals->InputAt(i)));
|
| }
|
|
|