Index: src/ast/ast.h |
diff --git a/src/ast/ast.h b/src/ast/ast.h |
index fd40ac924781c20626b4a2bc2c4aa82e855665df..d515c2f43b16858d0531e2b318e967e76e67de14 100644 |
--- a/src/ast/ast.h |
+++ b/src/ast/ast.h |
@@ -3378,12 +3378,11 @@ |
// the Function constructor. |
FunctionLiteral* NewScriptOrEvalFunctionLiteral( |
DeclarationScope* scope, ZoneList<Statement*>* body, |
- int materialized_literal_count, int expected_property_count, |
- int parameter_count) { |
+ int materialized_literal_count, int expected_property_count) { |
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, |
+ body, materialized_literal_count, expected_property_count, 0, |
+ FunctionLiteral::kAnonymousExpression, |
FunctionLiteral::kNoDuplicateParameters, |
FunctionLiteral::kShouldLazyCompile, FunctionKind::kNormalFunction, 0, |
false); |