This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
move CX_LEAVE_SCOPE outside the POPFOO's
authorDavid Mitchell <davem@iabyn.com>
Thu, 15 Oct 2015 12:48:25 +0000 (13:48 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 08:59:43 +0000 (08:59 +0000)
commit2f450c1bae02c0b0fcd87271d9236f76d9575ed3
treef7ea3b1444132be8aac2d74dd6d340e355e4892b
parent94a11f7c2b35ca4c446f3aa0ffff73539bfd267f
move CX_LEAVE_SCOPE outside the POPFOO's

Currently every POPFOO macro has CX_LEAVE_SCOPE(cx) as its first action.
Since this is common code and not specific to a particular POPFOO type,
remove it from each POPFOO macro and make each caller of POPFOO explicitly
call CX_LEAVE_SCOPE() instead.

This should make no functional difference (but will help if you're
single-stepping the code in a debugger :-)
cop.h
pp_ctl.c
pp_hot.c
pp_sort.c
pp_sys.c