| Index: src/compiler/js-generic-lowering.cc
|
| diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc
|
| index e8eab0f102fcd518d5baf2dfdebf5c5346b50998..611b5c90791e0046c755c3927ceee519cbe7d285 100644
|
| --- a/src/compiler/js-generic-lowering.cc
|
| +++ b/src/compiler/js-generic-lowering.cc
|
| @@ -414,6 +414,14 @@ void JSGenericLowering::LowerJSStoreContext(Node* node) {
|
| }
|
|
|
|
|
| +void JSGenericLowering::LowerJSCreateClosure(Node* node) {
|
| + CreateClosureParameters p = CreateClosureParametersOf(node->op());
|
| + node->InsertInput(zone(), 1, jsgraph()->HeapConstant(p.shared_info()));
|
| + node->InsertInput(zone(), 2, jsgraph()->BooleanConstant(p.pretenure()));
|
| + ReplaceWithRuntimeCall(node, Runtime::kNewClosure);
|
| +}
|
| +
|
| +
|
| void JSGenericLowering::LowerJSCreateCatchContext(Node* node) {
|
| Unique<String> name = OpParameter<Unique<String>>(node);
|
| node->InsertInput(zone(), 0, jsgraph()->HeapConstant(name));
|
|
|