| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index f0affc27985c5e8b68f7bfbd3e94755e9cb96426..aef799cbaf22ad7e995790d1a3bf12256b7107d4 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -922,6 +922,8 @@ Parser::Parser(ParseInfo* info)
|
| set_allow_harmony_default_parameters(FLAG_harmony_default_parameters);
|
| set_allow_harmony_spread_calls(FLAG_harmony_spread_calls);
|
| set_allow_harmony_destructuring(FLAG_harmony_destructuring);
|
| + set_allow_harmony_destructuring_assignment(
|
| + FLAG_harmony_destructuring_assignment);
|
| set_allow_harmony_spread_arrays(FLAG_harmony_spread_arrays);
|
| set_allow_harmony_new_target(FLAG_harmony_new_target);
|
| set_allow_strong_mode(FLAG_strong_mode);
|
| @@ -3356,6 +3358,12 @@ void Parser::InitializeForEachStatement(ForEachStatement* stmt,
|
| }
|
|
|
|
|
| +Expression* Parser::RewriteDestructuringAssignmentExpression(
|
| + Expression* expression) {
|
| + return expression;
|
| +}
|
| +
|
| +
|
| Statement* Parser::DesugarLexicalBindingsInForStatement(
|
| Scope* inner_scope, bool is_const, ZoneList<const AstRawString*>* names,
|
| ForStatement* loop, Statement* init, Expression* cond, Statement* next,
|
|
|