| Index: src/ast/prettyprinter.cc
|
| diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc
|
| index 463ae26c4d77eeec9d440089224cba7a0f86fb6d..34ce03d7cbc72208a1d0faf25dae16c252aa4eff 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());
|
| }
|
|
|