free up CvPADLIST slot for XSUBs for future use blead
authorDaniel Dragan <bulk88@hotmail.com>
Fri, 31 Oct 2014 07:23:17 +0000 (03:23 -0400)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 31 Oct 2014 19:37:08 +0000 (12:37 -0700)
commiteacbb37937698a035d5ed63fcbdf15dd4eab56cf
tree99f7dc0cbedf55df1391d054c456f5d2b52a3ae9
parent699ed31ec604580b23b25fc7a7fb44b59c92cbc6
free up CvPADLIST slot for XSUBs for future use

CvRESERVED is a placeholder, it will be replaced with a sentinal value
from future revised BOOTCHECK API.

CvPADLIST_set was helpful during development of this patch, so keep it
around for now.

PoisonPADLIST's magic value is from PERL_POISON 0xEF pattern. Some
PoisonPADLIST locations will get code from future BOOTCHECK API.

Make padlist_dup a NN function to avoid overhead of calling it for XSUBs
during closing.

Perl_cv_undef_flags's else if (CvISXSUB(&cvbody)) is to avoid whitespace
changes.

Filed as perl [#123059].
20 files changed:
cv.h
dump.c
embed.fnc
embed.h
ext/B/B.pm
ext/B/B.xs
ext/Devel-Peek/Peek.pm
ext/Devel-Peek/Peek.xs
ext/Devel-Peek/t/Peek.t
gv.c
makedef.pl
op.c
pad.c
perl.c
pod/perldelta.pod
pp_ctl.c
proto.h
sv.c
sv.h
toke.c