This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
eliminate LEAVESUB() macro
authorDavid Mitchell <davem@iabyn.com>
Sat, 10 Oct 2015 22:22:30 +0000 (23:22 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 08:59:41 +0000 (08:59 +0000)
commit88c9015732ec6efe92272206fcb71e4ffdff65c7
tree2a669c9e198540159a226d49a452900f7bdfa2af
parent478e976c1070c5dc02cb3fc4d474b21b7cef236c
eliminate LEAVESUB() macro

Many years ago, POPSUB was split into two parts, with a final cleanup
being done by the LEAVESUB() macro. After the previous commit, LEAVESUB
now always immediately follows POPSUB, so roll its action into the
last line of POPSUB and eliminate it.

This also allows us to remove the 'sv' parameter from POPSUB(), which
was needed purely to communicate to LEAVESUB() which var to process
cop.h
pp_ctl.c
pp_hot.c
pp_sort.c