This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add CX_LEAVE_SCOPE(cx) macro
authorDavid Mitchell <davem@iabyn.com>
Sat, 10 Oct 2015 21:49:46 +0000 (22:49 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 08:59:40 +0000 (08:59 +0000)
commitdfe0f39bc171d865e84f3c67b96f42ecd95ac752
treea75862c29fd8c527d0d640ce8f24ea147bd3bcde
parent4f12ed775aa7c8b54741e95d625731c300491d8c
add CX_LEAVE_SCOPE(cx) macro

which is shorthand for

    LEAVE_SCOPE(cx->cx_u.cx_blk.blku_old_savestack_ix)

This is the start of a new breed of macros designed to manipulate the
conetect stack, that have a CX_ prefix, that will eventually superede
the (PUSH/POP)(BLOCK/SUB/ETC) system.
cop.h
pp_ctl.c
pp_hot.c