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(); |