| Index: src/compiler/js-operator.cc
|
| diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc
|
| index 9975217f97e5851ed5e46d049b8bdd652f13e071..a771cd543494644e7fc598c39ecebb5f6ab1590d 100644
|
| --- a/src/compiler/js-operator.cc
|
| +++ b/src/compiler/js-operator.cc
|
| @@ -412,7 +412,7 @@
|
|
|
| bool operator==(CreateLiteralParameters const& lhs,
|
| CreateLiteralParameters const& rhs) {
|
| - return lhs.constant().location() == rhs.constant().location() &&
|
| + return lhs.constants().location() == rhs.constants().location() &&
|
| lhs.flags() == rhs.flags() && lhs.index() == rhs.index();
|
| }
|
|
|
| @@ -424,19 +424,18 @@
|
|
|
|
|
| size_t hash_value(CreateLiteralParameters const& p) {
|
| - return base::hash_combine(p.constant().location(), p.flags(), p.index());
|
| + return base::hash_combine(p.constants().location(), p.flags(), p.index());
|
| }
|
|
|
|
|
| std::ostream& operator<<(std::ostream& os, CreateLiteralParameters const& p) {
|
| - return os << Brief(*p.constant()) << ", " << p.flags() << ", " << p.index();
|
| + return os << Brief(*p.constants()) << ", " << p.flags() << ", " << p.index();
|
| }
|
|
|
|
|
| const CreateLiteralParameters& CreateLiteralParametersOf(const Operator* op) {
|
| DCHECK(op->opcode() == IrOpcode::kJSCreateLiteralArray ||
|
| - op->opcode() == IrOpcode::kJSCreateLiteralObject ||
|
| - op->opcode() == IrOpcode::kJSCreateLiteralRegExp);
|
| + op->opcode() == IrOpcode::kJSCreateLiteralObject);
|
| return OpParameter<CreateLiteralParameters>(op);
|
| }
|
|
|
| @@ -780,18 +779,6 @@
|
| }
|
|
|
|
|
| -const Operator* JSOperatorBuilder::CreateLiteralRegExp(
|
| - Handle<String> constant_pattern, int literal_flags, int literal_index) {
|
| - CreateLiteralParameters parameters(constant_pattern, literal_flags,
|
| - literal_index);
|
| - return new (zone()) Operator1<CreateLiteralParameters>( // --
|
| - IrOpcode::kJSCreateLiteralRegExp, Operator::kNoProperties, // opcode
|
| - "JSCreateLiteralRegExp", // name
|
| - 1, 1, 1, 1, 1, 2, // counts
|
| - parameters); // parameter
|
| -}
|
| -
|
| -
|
| const Operator* JSOperatorBuilder::CreateFunctionContext(int slot_count) {
|
| return new (zone()) Operator1<int>( // --
|
| IrOpcode::kJSCreateFunctionContext, Operator::kNoProperties, // opcode
|
|
|