Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index e095bc20b38a3de322d68367bf393186c5432a84..88d201d08c1a4fe710b9ff4b838dd5592284a317 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -454,6 +454,7 @@ InstructionOperand OperandForDeopt(Isolate* isolate, OperandGenerator* g, |
return g->UseImmediate(input); |
} |
case IrOpcode::kArgumentsElementsState: |
+ case IrOpcode::kArgumentsLengthState: |
case IrOpcode::kObjectState: |
case IrOpcode::kTypedObjectState: |
UNREACHABLE(); |
@@ -513,6 +514,10 @@ size_t InstructionSelector::AddOperandToStateValueDescriptor( |
values->PushArgumentsElements(IsRestOf(input->op())); |
return 0; |
} |
+ case IrOpcode::kArgumentsLengthState: { |
+ values->PushArgumentsLength(IsRestOf(input->op())); |
+ return 0; |
+ } |
case IrOpcode::kObjectState: { |
UNREACHABLE(); |
return 0; |