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

Unified Diff: src/compiler/ast-graph-builder.cc

Issue 561913002: Class syntax parsing (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add early error checks for static prototype and get/set constructor Created 6 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
Index: src/compiler/ast-graph-builder.cc
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
index 91ae5b2a461ef1f29146c7f94b44237ac7ad4cd1..4ace04370c49bc434eaa403e6776505ee45831ef 100644
--- a/src/compiler/ast-graph-builder.cc
+++ b/src/compiler/ast-graph-builder.cc
@@ -416,6 +416,11 @@ void AstGraphBuilder::VisitFunctionDeclaration(FunctionDeclaration* decl) {
}
+void AstGraphBuilder::VisitClassDeclaration(ClassDeclaration* decl) {
+ UNREACHABLE();
+}
+
+
void AstGraphBuilder::VisitModuleDeclaration(ModuleDeclaration* decl) {
UNREACHABLE();
}
@@ -812,6 +817,9 @@ void AstGraphBuilder::VisitFunctionLiteral(FunctionLiteral* expr) {
}
+void AstGraphBuilder::VisitClassLiteral(ClassLiteral* expr) { UNREACHABLE(); }
+
+
void AstGraphBuilder::VisitNativeFunctionLiteral(NativeFunctionLiteral* expr) {
UNREACHABLE();
}
« no previous file with comments | « src/ast-value-factory.h ('k') | src/flag-definitions.h » ('j') | src/preparser.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698