Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index 315eabebbf00057d3a6c87d2fd477face01b081b..34311c5f3a3385aab423062692060e87ce9289de 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -5674,8 +5674,7 @@ void HOptimizedGraphBuilder::VisitFunctionLiteral(FunctionLiteral* expr) { |
HConstant* shared_info_value = Add<HConstant>(shared_info); |
HInstruction* instr; |
if (!expr->pretenure()) { |
- FastNewClosureStub stub(isolate(), shared_info->language_mode(), |
- shared_info->kind()); |
+ FastNewClosureStub stub(isolate()); |
FastNewClosureDescriptor descriptor(isolate()); |
HValue* values[] = {context(), shared_info_value}; |
HConstant* stub_value = Add<HConstant>(stub.GetCode()); |