| Index: src/compiler/instruction-selector.cc
|
| diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc
|
| index d7fd37a4582eb4ab3101e9e54ee6870ac77716de..53357acd9d64ba8e657700c5bcbd3eb93203eb3f 100644
|
| --- a/src/compiler/instruction-selector.cc
|
| +++ b/src/compiler/instruction-selector.cc
|
| @@ -452,7 +452,7 @@ InstructionOperand OperandForDeopt(Isolate* isolate, OperandGenerator* g,
|
|
|
| return g->UseImmediate(input);
|
| }
|
| - case IrOpcode::kArgumentsObjectState:
|
| + case IrOpcode::kArgumentsElementsState:
|
| case IrOpcode::kObjectState:
|
| case IrOpcode::kTypedObjectState:
|
| UNREACHABLE();
|
| @@ -508,8 +508,8 @@ size_t InstructionSelector::AddOperandToStateValueDescriptor(
|
| }
|
|
|
| switch (input->opcode()) {
|
| - case IrOpcode::kArgumentsObjectState: {
|
| - values->PushArguments();
|
| + case IrOpcode::kArgumentsElementsState: {
|
| + values->PushArgumentsElements(IsRestOf(input->op()));
|
| return 0;
|
| }
|
| case IrOpcode::kObjectState: {
|
|
|