Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index fdb7d21538854e7afa24b57ddd1e9d088c052f2f..22c0cd455332f44272881dad29d1a636bcea0a97 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -352,6 +352,9 @@ class V8_EXPORT_PRIVATE Parser : public NON_EXPORTED_BASE(ParserBase<Parser>) { |
void ParseAndRewriteGeneratorFunctionBody(int pos, FunctionKind kind, |
ZoneList<Statement*>* body, |
bool* ok); |
+ void ParseAndRewriteAsyncGeneratorFunctionBody(int pos, FunctionKind kind, |
+ ZoneList<Statement*>* body, |
+ bool* ok); |
void CreateFunctionNameAssignment(const AstRawString* function_name, int pos, |
FunctionLiteral::FunctionType function_type, |
DeclarationScope* function_scope, |
@@ -875,8 +878,6 @@ class V8_EXPORT_PRIVATE Parser : public NON_EXPORTED_BASE(ParserBase<Parser>) { |
Expression* BuildUnaryExpression(Expression* expression, Token::Value op, |
int pos); |
- Expression* BuildIteratorResult(Expression* value, bool done); |
- |
// Generate AST node that throws a ReferenceError with the given type. |
V8_INLINE Expression* NewThrowReferenceError( |
MessageTemplate::Template message, int pos) { |