Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 87269ed619581862cb4038173286a1c4b0d42b28..df1b439d0886e1fad91f53d19630ecf913f04e5e 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -802,8 +802,8 @@ class ParserTraits { |
Scanner::BookmarkScope* bookmark = nullptr); |
V8_INLINE ZoneList<Statement*>* ParseEagerFunctionBody( |
const AstRawString* name, int pos, |
- const ParserFormalParameters& parameters, |
- Variable* fvar, Token::Value fvar_init_op, FunctionKind kind, bool* ok); |
+ const ParserFormalParameters& parameters, FunctionKind kind, |
+ FunctionLiteral::FunctionType function_type, bool* ok); |
ClassLiteral* ParseClassLiteral(const AstRawString* name, |
Scanner::Location class_name_location, |
@@ -1160,8 +1160,8 @@ class Parser : public ParserBase<ParserTraits> { |
// Consumes the ending }. |
ZoneList<Statement*>* ParseEagerFunctionBody( |
const AstRawString* function_name, int pos, |
- const ParserFormalParameters& parameters, |
- Variable* fvar, Token::Value fvar_init_op, FunctionKind kind, bool* ok); |
+ const ParserFormalParameters& parameters, FunctionKind kind, |
+ FunctionLiteral::FunctionType function_type, bool* ok); |
void ThrowPendingError(Isolate* isolate, Handle<Script> script); |
@@ -1225,11 +1225,10 @@ void ParserTraits::SkipLazyFunctionBody(int* materialized_literal_count, |
ZoneList<Statement*>* ParserTraits::ParseEagerFunctionBody( |
- const AstRawString* name, int pos, |
- const ParserFormalParameters& parameters, Variable* fvar, |
- Token::Value fvar_init_op, FunctionKind kind, bool* ok) { |
- return parser_->ParseEagerFunctionBody(name, pos, parameters, fvar, |
- fvar_init_op, kind, ok); |
+ const AstRawString* name, int pos, const ParserFormalParameters& parameters, |
+ FunctionKind kind, FunctionLiteral::FunctionType function_type, bool* ok) { |
+ return parser_->ParseEagerFunctionBody(name, pos, parameters, kind, |
+ function_type, ok); |
} |
void ParserTraits::CheckConflictingVarDeclarations(v8::internal::Scope* scope, |