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

Unified Diff: src/full-codegen/full-codegen.cc

Issue 1309813007: [es6] implement destructuring assignment (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: An implementation 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/full-codegen/full-codegen.cc
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc
index 89675b6c9a22ffb2d34e215d125a11a81890f1c8..1024929484580bf243585ef926daca85139b2480 100644
--- a/src/full-codegen/full-codegen.cc
+++ b/src/full-codegen/full-codegen.cc
@@ -1485,6 +1485,11 @@ void FullCodeGenerator::VisitCall(Call* expr) {
}
+void FullCodeGenerator::VisitAssignmentPattern(AssignmentPattern* pattern) {
+ Visit(pattern->expression());
+}
+
+
void FullCodeGenerator::VisitSpread(Spread* expr) { UNREACHABLE(); }

Powered by Google App Engine
This is Rietveld 408576698