Index: src/ast/prettyprinter.cc |
diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc |
index 8317d9497764a4cd00ee91580feb3a1be46f05b7..05590f30cb01224b0801e27bd9391d237fbe727e 100644 |
--- a/src/ast/prettyprinter.cc |
+++ b/src/ast/prettyprinter.cc |
@@ -420,6 +420,12 @@ void CallPrinter::VisitSuperCallReference(SuperCallReference* node) { |
} |
+void CallPrinter::VisitRewritableAssignmentExpression( |
+ RewritableAssignmentExpression* node) { |
+ Find(node->expression()); |
+} |
+ |
+ |
void CallPrinter::FindStatements(ZoneList<Statement*>* statements) { |
if (statements == NULL) return; |
for (int i = 0; i < statements->length(); i++) { |
@@ -931,6 +937,12 @@ void PrettyPrinter::VisitSuperCallReference(SuperCallReference* node) { |
} |
+void PrettyPrinter::VisitRewritableAssignmentExpression( |
+ RewritableAssignmentExpression* node) { |
+ Visit(node->expression()); |
+} |
+ |
+ |
const char* PrettyPrinter::Print(AstNode* node) { |
Init(); |
Visit(node); |
@@ -1682,6 +1694,12 @@ void AstPrinter::VisitSuperCallReference(SuperCallReference* node) { |
} |
+void AstPrinter::VisitRewritableAssignmentExpression( |
+ RewritableAssignmentExpression* node) { |
+ Visit(node->expression()); |
+} |
+ |
+ |
#endif // DEBUG |
} // namespace internal |