| Index: src/compiler/js-operator.cc
|
| diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc
|
| index 975ca0c5b18be8009b049ef43ebac92bb2c56803..e7de5ee585332aec3498989692fb6def3fbfcafa 100644
|
| --- a/src/compiler/js-operator.cc
|
| +++ b/src/compiler/js-operator.cc
|
| @@ -413,6 +413,13 @@ std::ostream& operator<<(std::ostream& os, CreateArgumentsParameters const& p) {
|
| }
|
|
|
|
|
| +const CreateArgumentsParameters& CreateArgumentsParametersOf(
|
| + const Operator* op) {
|
| + DCHECK_EQ(IrOpcode::kJSCreateArguments, op->opcode());
|
| + return OpParameter<CreateArgumentsParameters>(op);
|
| +}
|
| +
|
| +
|
| bool operator==(CreateClosureParameters const& lhs,
|
| CreateClosureParameters const& rhs) {
|
| return lhs.pretenure() == rhs.pretenure() &&
|
|
|