| Index: src/parsing/parser.h
|
| diff --git a/src/parsing/parser.h b/src/parsing/parser.h
|
| index 87b6a910a458bb231687a0a4fb268d0194f99865..bafc3bb1d7e364d3a6de933bed123cf20d1737fd 100644
|
| --- a/src/parsing/parser.h
|
| +++ b/src/parsing/parser.h
|
| @@ -461,6 +461,8 @@ class ParserTraits {
|
| MessageTemplate::Template message,
|
| const AstRawString* arg, int pos);
|
|
|
| + Statement* FinalizeForOfStatement(ForOfStatement* loop, int pos);
|
| +
|
| // Reporting errors.
|
| void ReportMessageAt(Scanner::Location source_location,
|
| MessageTemplate::Template message,
|
| @@ -662,8 +664,12 @@ class ParserTraits {
|
| private:
|
| Parser* parser_;
|
|
|
| - void BuildIteratorClose(ZoneList<Statement*>* statements, Variable* iterator,
|
| - Maybe<Variable*> input, Maybe<Variable*> output);
|
| + void BuildIteratorClose(
|
| + ZoneList<Statement*>* statements, Variable* iterator,
|
| + Maybe<Variable*> input, Variable* output);
|
| + void BuildIteratorCloseForCompletion(
|
| + ZoneList<Statement*>* statements, Variable* iterator,
|
| + Variable* body_threw);
|
| };
|
|
|
|
|
|
|