| Index: src/ast/prettyprinter.cc
|
| diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc
|
| index 1f6b8c31debb8376d3aff273ab6c7d8e40b0fed7..c8c4c63f7b5570ad1e792ac7a3828431480a66a1 100644
|
| --- a/src/ast/prettyprinter.cc
|
| +++ b/src/ast/prettyprinter.cc
|
| @@ -1580,7 +1580,9 @@ void AstPrinter::VisitAssignment(Assignment* node) {
|
|
|
|
|
| void AstPrinter::VisitYield(Yield* node) {
|
| - IndentedScope indent(this, "YIELD", node->position());
|
| + EmbeddedVector<char, 128> buf;
|
| + SNPrintF(buf, "YIELD (kind %d)", node->yield_kind());
|
| + IndentedScope indent(this, buf.start(), node->position());
|
| Visit(node->expression());
|
| }
|
|
|
|
|