Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index f971cf7661ceae42c3007c19300e11a1d9c7cbf2..5857291830a75942fec534ce9bb9f05cf6836880 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -759,9 +759,10 @@ class Parser : public ParserBase<ParserTraits> { |
bool* ok); |
Statement* ParseStatementAsUnlabelled(ZoneList<const AstRawString*>* labels, |
bool* ok); |
- Statement* ParseFunctionDeclaration(ZoneList<const AstRawString*>* names, |
+ Statement* ParseHoistableDeclaration(bool* ok); |
+ Statement* ParseHoistableDeclaration(ZoneList<const AstRawString*>* names, |
bool* ok); |
- Statement* ParseFunctionDeclaration(int pos, bool is_generator, |
+ Statement* ParseHoistableDeclaration(int pos, bool is_generator, |
ZoneList<const AstRawString*>* names, |
bool* ok); |
Statement* ParseClassDeclaration(ZoneList<const AstRawString*>* names, |