Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index 4ea3e63ab8080e1aeea2ed6ccddd5effa630847e..2a58c04372c1cbe5947f403b61aefbbd5dae4f6b 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -640,14 +640,16 @@ class V8_EXPORT_PRIVATE Parser : public NON_EXPORTED_BASE(ParserBase<Parser>) { |
MessageTemplate::Template message, |
const AstRawString* arg, int pos); |
- void FinalizeIteratorUse(Variable* completion, Expression* condition, |
- Variable* iter, Block* iterator_use, Block* result); |
+ void FinalizeIteratorUse(Scope* use_scope, Variable* completion, |
+ Expression* condition, Variable* iter, |
+ Block* iterator_use, Block* result); |
Statement* FinalizeForOfStatement(ForOfStatement* loop, Variable* completion, |
int pos); |
void BuildIteratorClose(ZoneList<Statement*>* statements, Variable* iterator, |
Variable* input, Variable* output); |
- void BuildIteratorCloseForCompletion(ZoneList<Statement*>* statements, |
+ void BuildIteratorCloseForCompletion(Scope* scope, |
+ ZoneList<Statement*>* statements, |
Variable* iterator, |
Expression* completion); |
Statement* CheckCallable(Variable* var, Expression* error, int pos); |