Convert block_inlined_p to method

This converts block_inlined_p to be a method.  This was mostly written
by script.
This commit is contained in:
Tom Tromey
2023-01-16 17:27:28 -07:00
parent 7f5937df01
commit a4dfe74756
6 changed files with 18 additions and 16 deletions

View File

@@ -533,7 +533,7 @@ get_hosting_frame (struct symbol *var, const struct block *var_block,
if (frame == NULL)
{
if (var_block->function ()
&& !block_inlined_p (var_block)
&& !var_block->inlined_p ()
&& var_block->function ()->print_name ())
error (_("No frame is currently executing in block %s."),
var_block->function ()->print_name ());