| Index: src/ast/prettyprinter.cc
|
| diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc
|
| index 950596722a842f40f23f2a8e941aed611d43c894..7dffa45585f89834320e46b2c86b891fa9a327db 100644
|
| --- a/src/ast/prettyprinter.cc
|
| +++ b/src/ast/prettyprinter.cc
|
| @@ -377,6 +377,11 @@ void CallPrinter::VisitGetIterator(GetIterator* node) {
|
| Print(")");
|
| }
|
|
|
| +void CallPrinter::VisitInternalVariable(InternalVariable* node) {
|
| + const char* name = node->name();
|
| + Print(name);
|
| +}
|
| +
|
| void CallPrinter::VisitThisFunction(ThisFunction* node) {}
|
|
|
|
|
| @@ -1203,6 +1208,10 @@ void AstPrinter::VisitGetIterator(GetIterator* node) {
|
| Visit(node->iterable());
|
| }
|
|
|
| +void AstPrinter::VisitInternalVariable(InternalVariable* node) {
|
| + Print("%s", node->name());
|
| +}
|
| +
|
| void AstPrinter::VisitThisFunction(ThisFunction* node) {
|
| IndentedScope indent(this, "THIS-FUNCTION", node->position());
|
| }
|
|
|