| Index: src/compiler/js-operator.cc
|
| diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc
|
| index 1e10fe60897118f336305eb13b54398c8073eea5..cc02152442d25e3c76e5a8cd7503bca51dc691e4 100644
|
| --- a/src/compiler/js-operator.cc
|
| +++ b/src/compiler/js-operator.cc
|
| @@ -376,6 +376,12 @@ const CreateLiteralParameters& CreateLiteralParametersOf(const Operator* op) {
|
| return OpParameter<CreateLiteralParameters>(op);
|
| }
|
|
|
| +const BinaryOperationHints& BinaryOperationHintsOf(const Operator* op) {
|
| + DCHECK(op->opcode() == IrOpcode::kJSAdd ||
|
| + op->opcode() == IrOpcode::kJSSubtract);
|
| + return OpParameter<BinaryOperationHints>(op);
|
| +}
|
| +
|
| #define CACHED_OP_LIST(V) \
|
| V(Equal, Operator::kNoProperties, 2, 1) \
|
| V(NotEqual, Operator::kNoProperties, 2, 1) \
|
|
|