Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index ebe14a98de7f5dd1bf38ba7ae277ac59f717f758..96c01746e06f87230c4f2f83bfb99b1841b01d33 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -606,7 +606,7 @@ class ParserTraits { |
const AstRawString* name, Scanner::Location function_name_location, |
FunctionNameValidity function_name_validity, FunctionKind kind, |
int function_token_position, FunctionLiteral::FunctionType type, |
- LanguageMode language_mode, bool* ok); |
+ LanguageMode language_mode, typesystem::TypeFlags type_flags, bool* ok); |
V8_INLINE void SkipLazyFunctionBody( |
int* materialized_literal_count, int* expected_property_count, bool* ok, |
Scanner::BookmarkScope* bookmark = nullptr); |
@@ -997,7 +997,7 @@ class Parser : public ParserBase<ParserTraits> { |
const AstRawString* name, Scanner::Location function_name_location, |
FunctionNameValidity function_name_validity, FunctionKind kind, |
int function_token_position, FunctionLiteral::FunctionType type, |
- LanguageMode language_mode, bool* ok); |
+ LanguageMode language_mode, typesystem::TypeFlags type_flags, bool* ok); |
ClassLiteral* ParseClassLiteral(const AstRawString* name, |