| Index: src/prettyprinter.cc
|
| diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc
|
| index ac123bd10feb52e22380c68446a4fa49e4311bf9..15b8528d10379665bb0e232c021c53f664e565b4 100644
|
| --- a/src/prettyprinter.cc
|
| +++ b/src/prettyprinter.cc
|
| @@ -114,6 +114,11 @@ void CallPrinter::VisitExpressionStatement(ExpressionStatement* node) {
|
| void CallPrinter::VisitEmptyStatement(EmptyStatement* node) {}
|
|
|
|
|
| +void CallPrinter::VisitDelegateStatement(DelegateStatement* node) {
|
| + Find(node->statement());
|
| +}
|
| +
|
| +
|
| void CallPrinter::VisitIfStatement(IfStatement* node) {
|
| Find(node->condition());
|
| Find(node->then_statement());
|
| @@ -499,6 +504,11 @@ void PrettyPrinter::VisitEmptyStatement(EmptyStatement* node) {
|
| }
|
|
|
|
|
| +void PrettyPrinter::VisitDelegateStatement(DelegateStatement* node) {
|
| + Visit(node->statement());
|
| +}
|
| +
|
| +
|
| void PrettyPrinter::VisitIfStatement(IfStatement* node) {
|
| Print("if (");
|
| Visit(node->condition());
|
| @@ -1216,6 +1226,11 @@ void AstPrinter::VisitEmptyStatement(EmptyStatement* node) {
|
| }
|
|
|
|
|
| +void AstPrinter::VisitDelegateStatement(DelegateStatement* node) {
|
| + Visit(node->statement());
|
| +}
|
| +
|
| +
|
| void AstPrinter::VisitIfStatement(IfStatement* node) {
|
| IndentedScope indent(this, "IF");
|
| PrintIndentedVisit("CONDITION", node->condition());
|
|
|