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

Unified Diff: src/hydrogen.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/hydrogen.cc
diff --git a/src/hydrogen.cc b/src/hydrogen.cc
index ce3d368a715bdeb8dbe42a21179a3fa13800fb45..6ee461c7b909fac3326873081314fa5c3e237522 100644
--- a/src/hydrogen.cc
+++ b/src/hydrogen.cc
@@ -5242,6 +5242,11 @@ void HOptimizedGraphBuilder::VisitFunctionLiteral(FunctionLiteral* expr) {
}
+void HOptimizedGraphBuilder::VisitClassLiteral(ClassLiteral* lit) {
+ UNREACHABLE();
+}
+
+
void HOptimizedGraphBuilder::VisitNativeFunctionLiteral(
NativeFunctionLiteral* expr) {
DCHECK(!HasStackOverflow());
@@ -11287,6 +11292,12 @@ void HOptimizedGraphBuilder::VisitFunctionDeclaration(
}
+void HOptimizedGraphBuilder::VisitClassDeclaration(
+ ClassDeclaration* declaration) {
+ UNREACHABLE();
+}
+
+
void HOptimizedGraphBuilder::VisitModuleDeclaration(
ModuleDeclaration* declaration) {
UNREACHABLE();
« no previous file with comments | « src/full-codegen.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | src/preparser.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698