more debugging information when dumping script optimization data structures

This commit is contained in:
Vern Paxson 2023-06-16 15:22:28 -07:00 committed by Arne Welzel
parent 4a5a7f975d
commit 528aa6766a
2 changed files with 13 additions and 0 deletions

View file

@ -2709,6 +2709,13 @@ void InlineExpr::ExprDescribe(ODesc* d) const
{
d->Add("inline(");
args->Describe(d);
d->Add(")(");
for ( auto& p : params )
{
if ( &p != &params[0] )
d->AddSP(",");
d->Add(p->Name());
}
d->Add("){");
body->Describe(d);
d->Add("}");