Chromium Code Reviews| Index: src/compiler/js-generic-lowering.cc |
| diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
| index 82f19cb059e05859d346b00bc79096dcea4411d3..f5f8e88ab50c43e23fa4070f9f6bf12ea7ff723b 100644 |
| --- a/src/compiler/js-generic-lowering.cc |
| +++ b/src/compiler/js-generic-lowering.cc |
| @@ -344,7 +344,8 @@ void JSGenericLowering::LowerJSCreateClosure(Node* node) { |
| Handle<SharedFunctionInfo> const shared_info = p.shared_info(); |
| node->InsertInput(zone(), 0, jsgraph()->HeapConstant(shared_info)); |
| - // Use the FastNewClosureStub only for functions allocated in new space. |
| + // Use the FastNewClosureStub builtin only for functions allocated in new |
|
danno
2016/12/28 09:11:45
nit: remove Stub
mvstanton
2016/12/28 09:29:23
Done.
|
| + // space. |
| if (p.pretenure() == NOT_TENURED) { |
| Callable callable = CodeFactory::FastNewClosure(isolate()); |
| ReplaceWithStubCall(node, callable, flags); |