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

Unified Diff: src/ast/ast-literal-reindexer.cc

Issue 2557593004: [ignition] desugar GetIterator() via bytecode rather than via AST (Closed)
Patch Set: rebase Created 4 years 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/ast-literal-reindexer.cc
diff --git a/src/ast/ast-literal-reindexer.cc b/src/ast/ast-literal-reindexer.cc
index 81a5225fdc2ee7e9a15f89452577db866c40ba72..fcd996d4465351d1c380a27d452e98fa554b6e2f 100644
--- a/src/ast/ast-literal-reindexer.cc
+++ b/src/ast/ast-literal-reindexer.cc
@@ -186,6 +186,9 @@ void AstLiteralReindexer::VisitSpread(Spread* node) {
void AstLiteralReindexer::VisitEmptyParentheses(EmptyParentheses* node) {}
+void AstLiteralReindexer::VisitGetIterator(GetIterator* node) {
+ Visit(node->iterable());
+}
void AstLiteralReindexer::VisitForInStatement(ForInStatement* node) {
Visit(node->each());

Powered by Google App Engine
This is Rietveld 408576698