| Index: src/ast/prettyprinter.cc
|
| diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc
|
| index 4cf23c980cb0bb6de77bc415ab796e8be1410a98..c68084a6e7203c0cd7ab2112d5423a987f8ac0dd 100644
|
| --- a/src/ast/prettyprinter.cc
|
| +++ b/src/ast/prettyprinter.cc
|
| @@ -101,10 +101,6 @@ void CallPrinter::VisitVariableDeclaration(VariableDeclaration* node) {}
|
| void CallPrinter::VisitFunctionDeclaration(FunctionDeclaration* node) {}
|
|
|
|
|
| -void CallPrinter::VisitImportDeclaration(ImportDeclaration* node) {
|
| -}
|
| -
|
| -
|
| void CallPrinter::VisitExpressionStatement(ExpressionStatement* node) {
|
| Find(node->expression());
|
| }
|
| @@ -514,15 +510,6 @@ void PrettyPrinter::VisitFunctionDeclaration(FunctionDeclaration* node) {
|
| }
|
|
|
|
|
| -void PrettyPrinter::VisitImportDeclaration(ImportDeclaration* node) {
|
| - Print("import ");
|
| - PrintLiteral(node->proxy()->name(), false);
|
| - Print(" from ");
|
| - PrintLiteral(node->module_specifier()->string(), true);
|
| - Print(";");
|
| -}
|
| -
|
| -
|
| void PrettyPrinter::VisitExpressionStatement(ExpressionStatement* node) {
|
| Visit(node->expression());
|
| Print(";");
|
| @@ -1294,13 +1281,6 @@ void AstPrinter::VisitFunctionDeclaration(FunctionDeclaration* node) {
|
| }
|
|
|
|
|
| -void AstPrinter::VisitImportDeclaration(ImportDeclaration* node) {
|
| - IndentedScope indent(this, "IMPORT", node->position());
|
| - PrintLiteralIndented("NAME", node->proxy()->name(), true);
|
| - PrintLiteralIndented("FROM", node->module_specifier()->string(), true);
|
| -}
|
| -
|
| -
|
| void AstPrinter::VisitExpressionStatement(ExpressionStatement* node) {
|
| IndentedScope indent(this, "EXPRESSION STATEMENT", node->position());
|
| Visit(node->expression());
|
|
|