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

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

Issue 1399893002: [es7] implement |do| expressions proposal (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Less code duplication in Rewriter 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/ast-literal-reindexer.cc
diff --git a/src/ast-literal-reindexer.cc b/src/ast-literal-reindexer.cc
index c0052acab5b6f285838bd1188c85f0f2d164aecb..5987399f9742ce8ff1bcd3604cef44cd5fc51102 100644
--- a/src/ast-literal-reindexer.cc
+++ b/src/ast-literal-reindexer.cc
@@ -43,6 +43,11 @@ void AstLiteralReindexer::VisitNativeFunctionLiteral(
NativeFunctionLiteral* node) {}
+void AstLiteralReindexer::VisitDoExpression(DoExpression* node) {
+ // TODO(caitp): literals in do expressions need re-indexing too.
adamk 2015/10/15 10:59:33 Is this meant for a followup? It'd be nice to have
caitp (gmail) 2015/10/15 11:24:17 I guess it's really the same as initializer litera
adamk 2015/10/15 12:01:25 Seems like this should be testable one way or the
+}
+
+
void AstLiteralReindexer::VisitLiteral(Literal* node) {}
« no previous file with comments | « src/ast-expression-visitor.cc ('k') | src/ast-numbering.cc » ('j') | src/preparser.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698