Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index d86c975e8a17d84fe36633e82f104649fe6cc186..3b028c0fc280d2d73cb889d7276e1e5e5e40d603 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -398,9 +398,9 @@ void JSGenericLowering::LowerJSCreateClosure(Node* node) { |
CallDescriptor::Flags flags = FrameStateFlagForCall(node); |
Handle<SharedFunctionInfo> const shared_info = p.shared_info(); |
node->InsertInput(zone(), 0, jsgraph()->HeapConstant(shared_info)); |
+ node->RemoveInput(3); // control |
- // Use the FastNewClosurebuiltin only for functions allocated in new |
- // space. |
+ // Use the FastNewClosure builtin only for functions allocated in new space. |
if (p.pretenure() == NOT_TENURED) { |
Callable callable = CodeFactory::FastNewClosure(isolate()); |
node->InsertInput(zone(), 1, |