Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index 1dd19d91b202e8c0c7cffb8db96e4bee785ed95e..acad434bc318438589eab139c5d92e91ec3ff312 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -794,7 +794,7 @@ class ParserTraits { |
Expression* ParseV8Intrinsic(bool* ok); |
FunctionLiteral* ParseFunctionLiteral( |
const AstRawString* name, Scanner::Location function_name_location, |
- bool name_is_strict_reserved, FunctionKind kind, |
+ FunctionNameValidity function_name_validity, FunctionKind kind, |
int function_token_position, FunctionLiteral::FunctionType type, |
FunctionLiteral::ArityRestriction arity_restriction, bool* ok); |
V8_INLINE void SkipLazyFunctionBody( |
@@ -1096,7 +1096,7 @@ class Parser : public ParserBase<ParserTraits> { |
FunctionLiteral* ParseFunctionLiteral( |
const AstRawString* name, Scanner::Location function_name_location, |
- bool name_is_strict_reserved, FunctionKind kind, |
+ FunctionNameValidity function_name_validity, FunctionKind kind, |
int function_token_position, FunctionLiteral::FunctionType type, |
FunctionLiteral::ArityRestriction arity_restriction, bool* ok); |