Index: src/prettyprinter.cc |
=================================================================== |
--- src/prettyprinter.cc (revision 1089) |
+++ src/prettyprinter.cc (working copy) |
@@ -285,6 +285,15 @@ |
} |
+void PrettyPrinter::VisitCatchExtensionObject(CatchExtensionObject* node) { |
+ Print("{ "); |
+ Visit(node->key()); |
+ Print(": "); |
+ Visit(node->value()); |
+ Print(" }"); |
+} |
+ |
+ |
void PrettyPrinter::VisitSlot(Slot* node) { |
switch (node->type()) { |
case Slot::PARAMETER: |
@@ -955,6 +964,13 @@ |
} |
+void AstPrinter::VisitCatchExtensionObject(CatchExtensionObject* node) { |
+ IndentedScope indent("CatchExtensionObject"); |
+ PrintIndentedVisit("KEY", node->key()); |
+ PrintIndentedVisit("VALUE", node->value()); |
+} |
+ |
+ |
void AstPrinter::VisitSlot(Slot* node) { |
PrintIndented("SLOT "); |
switch (node->type()) { |