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

Unified Diff: src/ast-literal-reindexer.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-literal-reindexer.cc
diff --git a/src/ast-literal-reindexer.cc b/src/ast-literal-reindexer.cc
index 5987399f9742ce8ff1bcd3604cef44cd5fc51102..70345c6f2895af7aa2eed1c7c66fd25dfc4d6f0c 100644
--- a/src/ast-literal-reindexer.cc
+++ b/src/ast-literal-reindexer.cc
@@ -163,6 +163,7 @@ void AstLiteralReindexer::VisitProperty(Property* node) {
void AstLiteralReindexer::VisitAssignment(Assignment* node) {
+ RETURN_IF_VISIT_NODE(node->destructuring_assignment());
Visit(node->target());
Visit(node->value());
}

Powered by Google App Engine
This is Rietveld 408576698