Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index cfbef49d391bbe2bae51a8d2d9b0f910b25b79ee..aee5ca72a165084c4e1a03eb3b41448b3b894140 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -1547,11 +1547,9 @@ void FullCodeGenerator::VisitNativeFunctionLiteral( |
const int literals = fun->NumberOfLiterals(); |
Handle<Code> code = Handle<Code>(fun->shared()->code()); |
Handle<Code> construct_stub = Handle<Code>(fun->shared()->construct_stub()); |
- bool is_generator = false; |
- bool is_arrow = false; |
Handle<SharedFunctionInfo> shared = |
isolate()->factory()->NewSharedFunctionInfo( |
- name, literals, is_generator, is_arrow, code, |
+ name, literals, FunctionKind::kNormalFunction, code, |
Handle<ScopeInfo>(fun->shared()->scope_info()), |
Handle<FixedArray>(fun->shared()->feedback_vector())); |
shared->set_construct_stub(*construct_stub); |