Line numbers on :return/:b_return events show the last executed lines,
instead of end lines (without return statement).
Note that :end event also affected.
However, "buybug", a well-known ruby debugger depends on previous behavior
so that I reverted this specification.
test/ruby/test_settracefunc.rb: catch up this fix.
revert line number spec of *return events.
compile.c (rb_iseq_compile_node): line number spec of :return, :b_return
and :end events of 'TracePoint` is changed for [Feature #14104].
Quoted from [Feature #14104]:
However, "buybug", a well-known ruby debugger depends on previous behavior
so that I reverted this specification.
test/ruby/test_settracefunc.rb: catch up this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e