| Index: src/compiler/js-generic-lowering.cc
|
| diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc
|
| index 611b5c90791e0046c755c3927ceee519cbe7d285..3ebb6bc261fbec929fd2521e820a8779efb6af45 100644
|
| --- a/src/compiler/js-generic-lowering.cc
|
| +++ b/src/compiler/js-generic-lowering.cc
|
| @@ -422,6 +422,20 @@ void JSGenericLowering::LowerJSCreateClosure(Node* node) {
|
| }
|
|
|
|
|
| +void JSGenericLowering::LowerJSCreateLiteralArray(Node* node) {
|
| + int literal_flags = OpParameter<int>(node->op());
|
| + node->InsertInput(zone(), 3, jsgraph()->SmiConstant(literal_flags));
|
| + ReplaceWithRuntimeCall(node, Runtime::kCreateArrayLiteral);
|
| +}
|
| +
|
| +
|
| +void JSGenericLowering::LowerJSCreateLiteralObject(Node* node) {
|
| + int literal_flags = OpParameter<int>(node->op());
|
| + node->InsertInput(zone(), 3, jsgraph()->SmiConstant(literal_flags));
|
| + ReplaceWithRuntimeCall(node, Runtime::kCreateObjectLiteral);
|
| +}
|
| +
|
| +
|
| void JSGenericLowering::LowerJSCreateCatchContext(Node* node) {
|
| Unique<String> name = OpParameter<Unique<String>>(node);
|
| node->InsertInput(zone(), 0, jsgraph()->HeapConstant(name));
|
|
|