Index: src/ast/ast.h |
diff --git a/src/ast/ast.h b/src/ast/ast.h |
index fa462f01d65fef171d6eb30954b03005b4ceddf2..2c101b8e8ae89750b59df47e65ffb29571f460dd 100644 |
--- a/src/ast/ast.h |
+++ b/src/ast/ast.h |
@@ -3484,14 +3484,13 @@ class AstNodeFactory final BASE_EMBEDDED { |
FunctionLiteral* NewScriptOrEvalFunctionLiteral( |
DeclarationScope* scope, ZoneList<Statement*>* body, |
int materialized_literal_count, int expected_property_count, |
- int parameter_count) { |
+ int parameter_count, FunctionKind kind) { |
return new (zone_) FunctionLiteral( |
zone_, ast_value_factory_->empty_string(), ast_value_factory_, scope, |
body, materialized_literal_count, expected_property_count, |
parameter_count, FunctionLiteral::kAnonymousExpression, |
FunctionLiteral::kNoDuplicateParameters, |
- FunctionLiteral::kShouldLazyCompile, FunctionKind::kNormalFunction, 0, |
- false); |
+ FunctionLiteral::kShouldLazyCompile, kind, 0, false); |
} |
ClassLiteral::Property* NewClassLiteralProperty( |