Index: src/compiler/common-operator.cc |
diff --git a/src/compiler/common-operator.cc b/src/compiler/common-operator.cc |
index 6d148029e2cdf27dbcf95732aff15cf7b482dbeb..43e23fed22f7af8ad422cb7ea179a0c2a4e9d798 100644 |
--- a/src/compiler/common-operator.cc |
+++ b/src/compiler/common-operator.cc |
@@ -1232,11 +1232,16 @@ const Operator* CommonOperatorBuilder::TypedStateValues( |
TypedStateValueInfo(types, bitmask)); // parameters |
} |
-const Operator* CommonOperatorBuilder::ArgumentsObjectState() { |
- return new (zone()) Operator( // -- |
- IrOpcode::kArgumentsObjectState, Operator::kPure, // opcode |
- "ArgumentsObjectState", // name |
- 0, 0, 0, 1, 0, 0); // counts |
+const Operator* CommonOperatorBuilder::ArgumentsElementsState(int skip) { |
+ return new (zone()) Operator1<int>( // -- |
+ IrOpcode::kArgumentsElementsState, Operator::kPure, // opcode |
+ "ArgumentsElementsState", // name |
+ 0, 0, 0, 1, 0, 0, skip); // counts |
+} |
+ |
+int SkippedArgumentsOf(Operator const* op) { |
+ DCHECK(op->opcode() == IrOpcode::kArgumentsElementsState); |
+ return OpParameter<int>(op); |
} |
const Operator* CommonOperatorBuilder::ObjectState(int pointer_slots) { |