| Index: src/parsing/parser.cc
|
| diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
|
| index 0fcc9ead7287f675cd5d19931fe8dcfddf032d0c..9e2b05a2b27f095cb6abb14a38898b8f8ab3efbc 100644
|
| --- a/src/parsing/parser.cc
|
| +++ b/src/parsing/parser.cc
|
| @@ -283,7 +283,7 @@ FunctionLiteral* Parser::DefaultConstructor(const AstRawString* name,
|
| expected_property_count, parameter_count,
|
| FunctionLiteral::kNoDuplicateParameters,
|
| FunctionLiteral::kAnonymousExpression,
|
| - FunctionLiteral::kShouldLazyCompile, kind, pos);
|
| + FunctionLiteral::kShouldLazyCompile, pos);
|
|
|
| function_literal->set_requires_class_field_init(requires_class_field_init);
|
|
|
| @@ -2842,7 +2842,7 @@ FunctionLiteral* Parser::ParseFunctionLiteral(
|
| FunctionLiteral* function_literal = factory()->NewFunctionLiteral(
|
| function_name, main_scope, body, materialized_literal_count,
|
| expected_property_count, arity, duplicate_parameters, function_type,
|
| - eager_compile_hint, kind, pos);
|
| + eager_compile_hint, pos);
|
| function_literal->set_function_token_position(function_token_pos);
|
| if (should_be_used_once_hint)
|
| function_literal->set_should_be_used_once_hint();
|
| @@ -3512,8 +3512,7 @@ FunctionLiteral* Parser::SynthesizeClassFieldInitializer(int count) {
|
| initializer_state.expected_property_count(), 0,
|
| FunctionLiteral::kNoDuplicateParameters,
|
| FunctionLiteral::kAnonymousExpression,
|
| - FunctionLiteral::kShouldLazyCompile, kind,
|
| - initializer_scope->start_position());
|
| + FunctionLiteral::kShouldLazyCompile, initializer_scope->start_position());
|
| function_literal->set_is_class_field_initializer(true);
|
| function_literal->scope()->set_arity(count);
|
| return function_literal;
|
|
|