codegen: cover a function's definition line when it is inlined (#64610)
A call to a compiled function covers the method's definition line on entry,
but an inlined call did not: the inlined debug info starts at the first
statement, so the definition line was never visited. This used to go mostly
unnoticed because a function that is always inlined rarely had a compiled
copy. Now that system and package images are instrumented, any compiled copy
registers the definition line, and when every call that runs is inlined the
line is reported as missed while its body is covered. In the coverage of
master this accounts for about 800 missed lines in base alone.
Entering an inlined frame now covers the inlined method's definition line. A
definition line's count is now the method definition plus its calls whether or
not the calls were inlined, so two reference counts in the tests go up by one.
Assisted-by: Claude Code (Opus 5.5)