Chromium Code Reviews| Index: src/compiler/common-operator.h |
| diff --git a/src/compiler/common-operator.h b/src/compiler/common-operator.h |
| index 46829593a4ef6d8123344723503d1cde9b3fbb66..406cdb25385c14674a252c3d6ace5439fe17aa52 100644 |
| --- a/src/compiler/common-operator.h |
| +++ b/src/compiler/common-operator.h |
| @@ -297,6 +297,8 @@ SparseInputMask SparseInputMaskOf(Operator const*); |
| ZoneVector<MachineType> const* MachineTypesOf(Operator const*) |
| WARN_UNUSED_RESULT; |
| +int IsRestOf(Operator const*); |
|
Jarin
2017/02/27 13:24:34
Should be bool.
Still, some comment explaining wh
|
| + |
| // 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 +364,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, |