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

Unified Diff: src/compiler/ast-loop-assignment-analyzer.cc

Issue 1399893002: [es7] implement |do| expressions proposal (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix AST numbering issue + add simple TF impl Created 5 years, 2 months 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/compiler/ast-loop-assignment-analyzer.cc
diff --git a/src/compiler/ast-loop-assignment-analyzer.cc b/src/compiler/ast-loop-assignment-analyzer.cc
index d9ec109e40ecbaebdaf86b69169c10cc1e818367..7f22504ce785325c703b46049817c6c86db42d5d 100644
--- a/src/compiler/ast-loop-assignment-analyzer.cc
+++ b/src/compiler/ast-loop-assignment-analyzer.cc
@@ -77,6 +77,11 @@ void ALAA::VisitSuperCallReference(SuperCallReference* leaf) {}
void ALAA::VisitBlock(Block* stmt) { VisitStatements(stmt->statements()); }
+void ALAA::VisitDoExpression(DoExpression* expr) {
+ VisitStatements(expr->statements());
+}
+
+
void ALAA::VisitExpressionStatement(ExpressionStatement* stmt) {
Visit(stmt->expression());
}

Powered by Google App Engine
This is Rietveld 408576698