Index: src/ast/prettyprinter.cc |
diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc |
index 5764267e832e9b732d2dd0484f72084446e720e1..3f624be864878428e16e6d30314e2091848b7bd0 100644 |
--- a/src/ast/prettyprinter.cc |
+++ b/src/ast/prettyprinter.cc |
@@ -1608,7 +1608,9 @@ void AstPrinter::VisitProperty(Property* node) { |
void AstPrinter::VisitCall(Call* node) { |
EmbeddedVector<char, 128> buf; |
- FormatSlotNode(&buf, node, "CALL", node->CallFeedbackICSlot()); |
+ const char* name = |
+ node->tail_call_mode() == TailCallMode::kAllow ? "TAIL CALL" : "CALL"; |
+ FormatSlotNode(&buf, node, name, node->CallFeedbackICSlot()); |
IndentedScope indent(this, buf.start()); |
Visit(node->expression()); |