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

Unified Diff: src/crankshaft/hydrogen.cc

Issue 2142333002: Refactor class declaration logic to the parser and runtime Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: minor cleanup per Adam Created 4 years, 5 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/crankshaft/hydrogen.cc
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
index 284bcbab7029d35e16ac9abb6da65e23c46e82d9..d31cbea78f37b7f8ff987102cb834b85b4c4c04f 100644
--- a/src/crankshaft/hydrogen.cc
+++ b/src/crankshaft/hydrogen.cc
@@ -5524,14 +5524,6 @@ void HOptimizedGraphBuilder::VisitFunctionLiteral(FunctionLiteral* expr) {
}
-void HOptimizedGraphBuilder::VisitClassLiteral(ClassLiteral* lit) {
- DCHECK(!HasStackOverflow());
- DCHECK(current_block() != NULL);
- DCHECK(current_block()->HasPredecessor());
- return Bailout(kClassLiteral);
-}
-
-
void HOptimizedGraphBuilder::VisitNativeFunctionLiteral(
NativeFunctionLiteral* expr) {
DCHECK(!HasStackOverflow());

Powered by Google App Engine
This is Rietveld 408576698