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

Unified Diff: src/ast-numbering.cc

Issue 997823003: [es6] support rest parameters in arrow functions (alternative) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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.h ('k') | src/compiler/ast-graph-builder.cc » ('j') | src/preparser.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast-numbering.cc
diff --git a/src/ast-numbering.cc b/src/ast-numbering.cc
index 152363e8fd0e58de555742d90b479234b6bd0f53..0150700d7b9109eb7a0e0fd9e15c08d6ef2aae99 100644
--- a/src/ast-numbering.cc
+++ b/src/ast-numbering.cc
@@ -356,6 +356,11 @@ void AstNumberingVisitor::VisitCompareOperation(CompareOperation* node) {
}
+void AstNumberingVisitor::VisitSpread(Spread* node) {
+ UNREACHABLE();
+}
+
+
void AstNumberingVisitor::VisitForInStatement(ForInStatement* node) {
IncrementNodeCount();
DisableSelfOptimization();
« no previous file with comments | « src/ast.h ('k') | src/compiler/ast-graph-builder.cc » ('j') | src/preparser.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698