Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 7e3e19d8957f192d552afbbf78bd068bdd2f6883..000e9c6a43b34b583e69841bd92b17609916b131 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -479,8 +479,7 @@ void JSGenericLowering::LowerJSCreateClosure(Node* node) { |
// Use the FastNewClosureStub only for functions allocated in new space. |
if (p.pretenure() == NOT_TENURED) { |
- Callable callable = CodeFactory::FastNewClosure( |
- isolate(), shared_info->language_mode(), shared_info->kind()); |
+ Callable callable = CodeFactory::FastNewClosure(isolate()); |
ReplaceWithStubCall(node, callable, flags); |
} else { |
ReplaceWithRuntimeCall(node, (p.pretenure() == TENURED) |