| Index: src/compiler/instruction-selector.cc
|
| diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc
|
| index 18164d42cfd26ebf3db67ea9ad56d1ee6a045733..5121983e07835af2ff0a5c66a36a8d701e669796 100644
|
| --- a/src/compiler/instruction-selector.cc
|
| +++ b/src/compiler/instruction-selector.cc
|
| @@ -453,7 +453,7 @@ InstructionOperand OperandForDeopt(Isolate* isolate, OperandGenerator* g,
|
|
|
| return g->UseImmediate(input);
|
| }
|
| - case IrOpcode::kArgumentsObjectState:
|
| + case IrOpcode::kArgumentsElementsState:
|
| case IrOpcode::kObjectState:
|
| case IrOpcode::kTypedObjectState:
|
| UNREACHABLE();
|
| @@ -509,8 +509,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: {
|
|
|