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

Unified Diff: src/compiler/ast-loop-assignment-analyzer.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/compiler/ast-loop-assignment-analyzer.cc
diff --git a/src/compiler/ast-loop-assignment-analyzer.cc b/src/compiler/ast-loop-assignment-analyzer.cc
index 2bf584b28385c40f873a7b9b747f43f1e7a39120..a3f4c75b5a5d0744be4693e56146b53f7fdaa598 100644
--- a/src/compiler/ast-loop-assignment-analyzer.cc
+++ b/src/compiler/ast-loop-assignment-analyzer.cc
@@ -120,17 +120,6 @@ void ALAA::VisitTryFinallyStatement(TryFinallyStatement* stmt) {
}
-void ALAA::VisitClassLiteral(ClassLiteral* e) {
- VisitIfNotNull(e->extends());
- VisitIfNotNull(e->constructor());
- ZoneList<ObjectLiteralProperty*>* properties = e->properties();
- for (int i = 0; i < properties->length(); i++) {
- Visit(properties->at(i)->key());
- Visit(properties->at(i)->value());
- }
-}
-
-
void ALAA::VisitConditional(Conditional* e) {
Visit(e->condition());
Visit(e->then_expression());

Powered by Google App Engine
This is Rietveld 408576698