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

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: 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 742c1497e2ec77e8112dec537e28a4e2f6d7ce0d..7d1e64cbdf5f1153ef3db9bbbdc71bb43b8df8b4 100644
--- a/src/crankshaft/hydrogen.cc
+++ b/src/crankshaft/hydrogen.cc
@@ -5511,14 +5511,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