Index: src/prettyprinter.cc |
diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc |
index 5d023a7ff544f4166fae5002e1543902ff26279e..3a476575718d4dbfb83388252886dfdc2c8b676c 100644 |
--- a/src/prettyprinter.cc |
+++ b/src/prettyprinter.cc |
@@ -364,10 +364,7 @@ |
void CallPrinter::VisitThisFunction(ThisFunction* node) {} |
-void CallPrinter::VisitSuperPropertyReference(SuperPropertyReference* node) {} |
- |
- |
-void CallPrinter::VisitSuperCallReference(SuperCallReference* node) {} |
+void CallPrinter::VisitSuperReference(SuperReference* node) {} |
void CallPrinter::FindStatements(ZoneList<Statement*>* statements) { |
@@ -838,13 +835,8 @@ |
} |
-void PrettyPrinter::VisitSuperPropertyReference(SuperPropertyReference* node) { |
- Print("<super-property-reference>"); |
-} |
- |
- |
-void PrettyPrinter::VisitSuperCallReference(SuperCallReference* node) { |
- Print("<super-call-reference>"); |
+void PrettyPrinter::VisitSuperReference(SuperReference* node) { |
+ Print("<super-reference>"); |
} |
@@ -1521,15 +1513,9 @@ |
} |
-void AstPrinter::VisitSuperPropertyReference(SuperPropertyReference* node) { |
- IndentedScope indent(this, "SUPER-PROPERTY-REFERENCE"); |
-} |
- |
- |
-void AstPrinter::VisitSuperCallReference(SuperCallReference* node) { |
- IndentedScope indent(this, "SUPER-CALL-REFERENCE"); |
-} |
- |
+void AstPrinter::VisitSuperReference(SuperReference* node) { |
+ IndentedScope indent(this, "SUPER-REFERENCE"); |
+} |
#endif // DEBUG |