| Index: src/prettyprinter.cc
|
| diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc
|
| index f18b3203edc098ba4630c47006511ebb39e43d81..499b0375d4b481db4127781a9ff60d79cba7fc7d 100644
|
| --- a/src/prettyprinter.cc
|
| +++ b/src/prettyprinter.cc
|
| @@ -136,6 +136,12 @@ void PrettyPrinter::VisitExitContextStatement(ExitContextStatement* node) {
|
| }
|
|
|
|
|
| +void PrettyPrinter::VisitExitScopedBlockStatement(
|
| + ExitScopedBlockStatement* node) {
|
| + Print("<exit scoped block>");
|
| +}
|
| +
|
| +
|
| void PrettyPrinter::VisitSwitchStatement(SwitchStatement* node) {
|
| PrintLabels(node->labels());
|
| Print("switch (");
|
| @@ -809,6 +815,11 @@ void AstPrinter::VisitExitContextStatement(ExitContextStatement* node) {
|
| }
|
|
|
|
|
| +void AstPrinter::VisitExitScopedBlockStatement(ExitScopedBlockStatement* node) {
|
| + PrintIndented("EXIT SCOPED BLOCK\n");
|
| +}
|
| +
|
| +
|
| void AstPrinter::VisitSwitchStatement(SwitchStatement* node) {
|
| IndentedScope indent(this, "SWITCH");
|
| PrintLabelsIndented(NULL, node->labels());
|
| @@ -1206,6 +1217,12 @@ void JsonAstBuilder::VisitExitContextStatement(ExitContextStatement* stmt) {
|
| }
|
|
|
|
|
| +void JsonAstBuilder::VisitExitScopedBlockStatement(
|
| + ExitScopedBlockStatement* stmt) {
|
| + TagScope tag(this, "ExitScopedBlockStatement");
|
| +}
|
| +
|
| +
|
| void JsonAstBuilder::VisitSwitchStatement(SwitchStatement* stmt) {
|
| TagScope tag(this, "SwitchStatement");
|
| }
|
|
|