Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1082)

Unified Diff: src/ast.cc

Issue 1309813007: [es6] implement destructuring assignment (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Cache te right scope in DeclareAndInitializeVariables() Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/ast.cc
diff --git a/src/ast.cc b/src/ast.cc
index 07a5dea06243ce9d359b7ad2878bc7862137cc93..b96f6552f289fd947620f314db62e0d67934ed51 100644
--- a/src/ast.cc
+++ b/src/ast.cc
@@ -149,6 +149,7 @@ Assignment::Assignment(Zone* zone, Token::Value op, Expression* target,
StoreModeField::encode(STANDARD_STORE) | TokenField::encode(op)),
target_(target),
value_(value),
+ destructuring_assignment_(nullptr),
binary_operation_(NULL) {}

Powered by Google App Engine
This is Rietveld 408576698