| Index: src/parsing/parser.h
|
| diff --git a/src/parsing/parser.h b/src/parsing/parser.h
|
| index 8febe70bee3dc69d38655aa9b523e0880e27f36b..3e3c41114929b32ec08354f9359e7b18b4b4a2c8 100644
|
| --- a/src/parsing/parser.h
|
| +++ b/src/parsing/parser.h
|
| @@ -1047,11 +1047,8 @@
|
| ZoneList<const AstRawString*>* names, bool* ok);
|
|
|
| static void RewriteDestructuringAssignment(
|
| - Parser* parser, RewritableAssignmentExpression* expr, Scope* Scope);
|
| -
|
| - static Expression* RewriteDestructuringAssignment(Parser* parser,
|
| - Assignment* assignment,
|
| - Scope* scope);
|
| + Parser* parser, RewritableAssignmentExpression* expr, Scope* Scope,
|
| + bool* ok);
|
|
|
| void set_initializer_position(int pos) { initializer_position_ = pos; }
|
|
|
| @@ -1147,9 +1144,10 @@
|
|
|
|
|
| // Initialize the components of a for-in / for-of statement.
|
| - void InitializeForEachStatement(ForEachStatement* stmt, Expression* each,
|
| - Expression* subject, Statement* body,
|
| - bool is_destructuring);
|
| + void InitializeForEachStatement(ForEachStatement* stmt,
|
| + Expression* each,
|
| + Expression* subject,
|
| + Statement* body);
|
| Statement* DesugarLexicalBindingsInForStatement(
|
| Scope* inner_scope, bool is_const, ZoneList<const AstRawString*>* names,
|
| ForStatement* loop, Statement* init, Expression* cond, Statement* next,
|
|
|