This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp_goto(): reorder LEAVE_SCOPE for consistency
authorDavid Mitchell <davem@iabyn.com>
Thu, 25 Jun 2015 14:18:25 +0000 (15:18 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 08:59:32 +0000 (08:59 +0000)
commit88c11d84310c49339e73fcab80dad89a73d74263
treea354fb606162b28c93b21055e2994a680ceecdea
parent2e25b41bed5be32dce1ec123ade1d426500f05cc
pp_goto(): reorder LEAVE_SCOPE for consistency

pp_leavesub (via POPSUB()) does a LEAVE_SCOPE before decrementing the CV's
ref count and depth; pp_goto does it after. Reorder it for consistency
with leavesub.

At this point I make no assertion as to which way round is the most
correct.
pp_ctl.c