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

Unified Diff: src/ast-numbering.cc

Issue 1161243005: Revert of [es6] Super call in arrows and eval (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « src/ast.cc ('k') | src/ast-value-factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast-numbering.cc
diff --git a/src/ast-numbering.cc b/src/ast-numbering.cc
index 59b95cbd25d409be767a57a53f284e0ef2996f01..da23aad98a5249b2838046686ec1e6e80969e588 100644
--- a/src/ast-numbering.cc
+++ b/src/ast-numbering.cc
@@ -168,23 +168,12 @@
}
-void AstNumberingVisitor::VisitSuperPropertyReference(
- SuperPropertyReference* node) {
+void AstNumberingVisitor::VisitSuperReference(SuperReference* node) {
IncrementNodeCount();
DisableOptimization(kSuperReference);
- node->set_base_id(ReserveIdRange(SuperPropertyReference::num_ids()));
+ node->set_base_id(ReserveIdRange(SuperReference::num_ids()));
Visit(node->this_var());
Visit(node->home_object_var());
-}
-
-
-void AstNumberingVisitor::VisitSuperCallReference(SuperCallReference* node) {
- IncrementNodeCount();
- DisableOptimization(kSuperReference);
- node->set_base_id(ReserveIdRange(SuperCallReference::num_ids()));
- Visit(node->this_var());
- Visit(node->new_target_var());
- Visit(node->this_function_var());
}
« no previous file with comments | « src/ast.cc ('k') | src/ast-value-factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698