Index: src/ast/prettyprinter.cc |
diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc |
index 83aa5339216f235dfd9e9c57aa50ae6b48c1b55c..b94f0951cead9af488c5b2be0ee47a0a09c10e81 100644 |
--- a/src/ast/prettyprinter.cc |
+++ b/src/ast/prettyprinter.cc |
@@ -722,8 +722,7 @@ void AstPrinter::VisitBlock(Block* node) { |
// TODO(svenpanne) Start with IndentedScope. |
void AstPrinter::VisitVariableDeclaration(VariableDeclaration* node) { |
- PrintLiteralWithModeIndented(Variable::Mode2String(node->mode()), |
- node->proxy()->var(), |
+ PrintLiteralWithModeIndented("VARIABLE", node->proxy()->var(), |
node->proxy()->name()); |
} |