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

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

Issue 1332873003: Implement sloppy-mode block-defined functions (Annex B 3.3) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Improve type clarity Created 5 years, 3 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
« no previous file with comments | « src/ast-expression-visitor.cc ('k') | src/ast-numbering.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast-literal-reindexer.cc
diff --git a/src/ast-literal-reindexer.cc b/src/ast-literal-reindexer.cc
index d9a6ed1c41d141ce3c92d50c957120bf16ad82e0..e5729c7818a2115edfe21bb974345411041d96aa 100644
--- a/src/ast-literal-reindexer.cc
+++ b/src/ast-literal-reindexer.cc
@@ -24,6 +24,12 @@ void AstLiteralReindexer::VisitExportDeclaration(ExportDeclaration* node) {
void AstLiteralReindexer::VisitEmptyStatement(EmptyStatement* node) {}
+void AstLiteralReindexer::VisitSloppyBlockFunctionStatement(
+ SloppyBlockFunctionStatement* node) {
+ Visit(node->statement());
+}
+
+
void AstLiteralReindexer::VisitContinueStatement(ContinueStatement* node) {}
« no previous file with comments | « src/ast-expression-visitor.cc ('k') | src/ast-numbering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698