Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 6292d65a8604c5abd32e46425e13e5eb623b6dd2..00a352716a73aac0e22d1e23be9e9b8615151065 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1849,7 +1849,7 @@ Handle<SharedFunctionInfo> Compiler::GetSharedFunctionInfoForNative( |
Handle<Code> code = Handle<Code>(fun->shared()->code()); |
Handle<Code> construct_stub = Handle<Code>(fun->shared()->construct_stub()); |
Handle<SharedFunctionInfo> shared = isolate->factory()->NewSharedFunctionInfo( |
- name, fun->shared()->num_literals(), FunctionKind::kNormalFunction, code, |
+ name, FunctionKind::kNormalFunction, code, |
Handle<ScopeInfo>(fun->shared()->scope_info())); |
shared->set_outer_scope_info(fun->shared()->outer_scope_info()); |
shared->SetConstructStub(*construct_stub); |