Index: src/prettyprinter.cc |
diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc |
index 19b0290758cb05d1e9ca2305ae05d58886fa80ef..0f5d225b650437e99d3e69ac120c8ce467a4ea86 100644 |
--- a/src/prettyprinter.cc |
+++ b/src/prettyprinter.cc |
@@ -447,6 +447,11 @@ void PrettyPrinter::VisitThisFunction(ThisFunction* node) { |
} |
+void PrettyPrinter::VisitSuperReference(SuperReference* node) { |
+ Print("<super-reference>"); |
+} |
+ |
+ |
const char* PrettyPrinter::Print(AstNode* node) { |
Init(); |
Visit(node); |
@@ -1145,6 +1150,11 @@ void AstPrinter::VisitThisFunction(ThisFunction* node) { |
IndentedScope indent(this, "THIS-FUNCTION"); |
} |
+ |
+void AstPrinter::VisitSuperReference(SuperReference* node) { |
+ IndentedScope indent(this, "SUPER-REFERENCE"); |
+} |
+ |
#endif // DEBUG |
} } // namespace v8::internal |