Index: src/ast/prettyprinter.cc |
diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc |
index 969025b38d53d5f1e10a6333ac5d410924efe258..aafaa33378d964b86f9dd3f61972c1c541fa3cef 100644 |
--- a/src/ast/prettyprinter.cc |
+++ b/src/ast/prettyprinter.cc |
@@ -218,14 +218,6 @@ void CallPrinter::VisitFunctionLiteral(FunctionLiteral* node) { |
} |
-void CallPrinter::VisitClassLiteral(ClassLiteral* node) { |
- if (node->extends()) Find(node->extends()); |
- for (int i = 0; i < node->properties()->length(); i++) { |
- Find(node->properties()->at(i)->value()); |
- } |
-} |
- |
- |
void CallPrinter::VisitNativeFunctionLiteral(NativeFunctionLiteral* node) {} |
@@ -917,16 +909,6 @@ void AstPrinter::VisitFunctionLiteral(FunctionLiteral* node) { |
} |
-void AstPrinter::VisitClassLiteral(ClassLiteral* node) { |
- IndentedScope indent(this, "CLASS LITERAL", node->position()); |
- PrintLiteralIndented("NAME", node->constructor()->name(), false); |
- if (node->extends() != nullptr) { |
- PrintIndentedVisit("EXTENDS", node->extends()); |
- } |
- PrintProperties(node->properties()); |
-} |
- |
- |
void AstPrinter::PrintProperties( |
ZoneList<ObjectLiteral::Property*>* properties) { |
for (int i = 0; i < properties->length(); i++) { |