| Index: src/compiler/js-operator.cc
|
| diff --git a/src/compiler/js-operator.cc b/src/compiler/js-operator.cc
|
| index 8812b6e46ecbcc5ba9e7df6e507ce558662d031f..646e8579b0008a95bcf5bbf8f441fd5977b8b173 100644
|
| --- a/src/compiler/js-operator.cc
|
| +++ b/src/compiler/js-operator.cc
|
| @@ -479,6 +479,24 @@ const Operator* JSOperatorBuilder::CreateClosure(
|
| }
|
|
|
|
|
| +const Operator* JSOperatorBuilder::CreateLiteralArray(int literal_flags) {
|
| + return new (zone()) Operator1<int>( // --
|
| + IrOpcode::kJSCreateLiteralArray, Operator::kNoProperties, // opcode
|
| + "JSCreateLiteralArray", // name
|
| + 3, 1, 1, 1, 1, 2, // counts
|
| + literal_flags); // parameter
|
| +}
|
| +
|
| +
|
| +const Operator* JSOperatorBuilder::CreateLiteralObject(int literal_flags) {
|
| + return new (zone()) Operator1<int>( // --
|
| + IrOpcode::kJSCreateLiteralObject, Operator::kNoProperties, // opcode
|
| + "JSCreateLiteralObject", // name
|
| + 3, 1, 1, 1, 1, 2, // counts
|
| + literal_flags); // parameter
|
| +}
|
| +
|
| +
|
| const Operator* JSOperatorBuilder::CreateCatchContext(
|
| const Unique<String>& name) {
|
| return new (zone()) Operator1<Unique<String>>( // --
|
|
|