Chromium Code Reviews

Unified Diff: src/ast-numbering.cc

Issue 1286383005: Parse arrow functions at proper precedence level (Closed) Base URL: https://chromium.googlesource.com/v8/v8@master
Patch Set: Add test Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/ast-numbering.cc
diff --git a/src/ast-numbering.cc b/src/ast-numbering.cc
index dc0528caa0cff687feec0ddb359a1704e7171a53..7338cc6724219678852d5a90c40155b5a62e53ad 100644
--- a/src/ast-numbering.cc
+++ b/src/ast-numbering.cc
@@ -371,6 +371,11 @@ void AstNumberingVisitor::VisitSpread(Spread* node) {
}
+void AstNumberingVisitor::VisitEmptyParentheses(EmptyParentheses* node) {
+ UNREACHABLE();
+}
+
+
void AstNumberingVisitor::VisitForInStatement(ForInStatement* node) {
IncrementNodeCount();
DisableSelfOptimization();
« no previous file with comments | « src/ast-literal-reindexer.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | src/preparser.h » ('J')

Powered by Google App Engine