Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 03140c9b0e87d545ed18ab84623ba7e8e879f0d3..adbce1cea0709a196fc82f69232e230ccdf1908b 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -1038,7 +1038,7 @@ void FullCodeGenerator::EmitNewClosure(Handle<SharedFunctionInfo> info, |
// doesn't just get a copy of the existing unoptimized code. |
if (!FLAG_always_opt && !FLAG_prepare_always_opt && !pretenure && |
scope()->is_function_scope()) { |
- FastNewClosureStub stub(isolate(), info->language_mode(), info->kind()); |
+ FastNewClosureStub stub(isolate()); |
__ Move(stub.GetCallInterfaceDescriptor().GetRegisterParameter(0), info); |
__ CallStub(&stub); |
} else { |