This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add PUSH/POPBASICBLK macros.
authorDavid Mitchell <davem@iabyn.com>
Sat, 10 Oct 2015 14:39:53 +0000 (15:39 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 08:59:40 +0000 (08:59 +0000)
commitc5369ccc48261c8bf4ac3023a24c6090f52a03c6
tree49416258a38a3dda798ec8d30524b4b1c3d1de2d
parent8aef2117c820d82091fcbab49e8ae3bc5312b954
add PUSH/POPBASICBLK macros.

Most contexts types have a pair, e.g. PUSHSUB/POPSUB for CXt_SUB.
Add them for a basic block too, CXt_BLOCK, i.e. pp_enter/pp_leave.
It makes things slightly more regular ahead of future refactoring.
cop.h
pp_ctl.c