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