| Index: src/compiler/js-operator.cc
|
| diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc
|
| index fa866186df043e3f606942434594b0eda5835e0d..91aa271e17c3897bee7986779e4cb559a5b65951 100644
|
| --- a/src/compiler/js-operator.cc
|
| +++ b/src/compiler/js-operator.cc
|
| @@ -14,8 +14,25 @@
|
| namespace internal {
|
| namespace compiler {
|
|
|
| +bool operator==(CallFunctionParameters const& lhs,
|
| + CallFunctionParameters const& rhs) {
|
| + return lhs.arity() == rhs.arity() && lhs.flags() == rhs.flags();
|
| +}
|
| +
|
| +
|
| +bool operator!=(CallFunctionParameters const& lhs,
|
| + CallFunctionParameters const& rhs) {
|
| + return !(lhs == rhs);
|
| +}
|
| +
|
| +
|
| +size_t hash_value(CallFunctionParameters const& p) {
|
| + return base::hash_combine(p.arity(), p.flags());
|
| +}
|
| +
|
| +
|
| std::ostream& operator<<(std::ostream& os, CallFunctionParameters const& p) {
|
| - return os << p.arity() << ", " << p.flags() << ", " << p.language_mode();
|
| + return os << p.arity() << ", " << p.flags();
|
| }
|
|
|
|
|
| @@ -337,9 +354,8 @@
|
|
|
|
|
| const Operator* JSOperatorBuilder::CallFunction(size_t arity,
|
| - CallFunctionFlags flags,
|
| - LanguageMode language_mode) {
|
| - CallFunctionParameters parameters(arity, flags, language_mode);
|
| + CallFunctionFlags flags) {
|
| + CallFunctionParameters parameters(arity, flags);
|
| return new (zone()) Operator1<CallFunctionParameters>( // --
|
| IrOpcode::kJSCallFunction, Operator::kNoProperties, // opcode
|
| "JSCallFunction", // name
|
|
|