This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
factor common code into POPSUB_ARGS()
authorDavid Mitchell <davem@iabyn.com>
Thu, 15 Oct 2015 14:50:08 +0000 (15:50 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 08:59:44 +0000 (08:59 +0000)
commit04e686b82c52b3269c8e18270362ff2955e04545
treef37745782d21c0edd3b3838c32ea1f6600964224
parent4d37acbf1ccc77a664975c7981614e4341519db9
factor common code into POPSUB_ARGS()

Some code that is common to POPSUB() and pp_coreargs, extract out
into a common macro. (There's some almost identical code in pp_goto,
so add a note there).

This makes pp_coreargs slightly less efficient, since it now tests for
AvREAL(av), when that should never be true. But it's not exactly hot code.
cop.h
pp.c
pp_ctl.c