| Index: src/compiler/common-operator.h
|
| diff --git a/src/compiler/common-operator.h b/src/compiler/common-operator.h
|
| index 46829593a4ef6d8123344723503d1cde9b3fbb66..b823e0fa154df51dd0346d71d18a98e882c7ab87 100644
|
| --- a/src/compiler/common-operator.h
|
| +++ b/src/compiler/common-operator.h
|
| @@ -297,6 +297,11 @@ SparseInputMask SparseInputMaskOf(Operator const*);
|
| ZoneVector<MachineType> const* MachineTypesOf(Operator const*)
|
| WARN_UNUSED_RESULT;
|
|
|
| +// The ArgumentsElementsState can either describe an unmapped arguments backing
|
| +// store or the backing store of the rest parameters. IsRestOf(op) is true in
|
| +// the second case.
|
| +bool IsRestOf(Operator const*);
|
| +
|
| // Interface for building common operators that can be used at any level of IR,
|
| // including JavaScript, mid-level, and low-level.
|
| class V8_EXPORT_PRIVATE CommonOperatorBuilder final
|
| @@ -362,7 +367,7 @@ class V8_EXPORT_PRIVATE CommonOperatorBuilder final
|
| const Operator* StateValues(int arguments, SparseInputMask bitmask);
|
| const Operator* TypedStateValues(const ZoneVector<MachineType>* types,
|
| SparseInputMask bitmask);
|
| - const Operator* ArgumentsObjectState();
|
| + const Operator* ArgumentsElementsState(bool is_rest);
|
| const Operator* ObjectState(int pointer_slots);
|
| const Operator* TypedObjectState(const ZoneVector<MachineType>* types);
|
| const Operator* FrameState(BailoutId bailout_id,
|
|
|