This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make SVs_PADTMP and SVs_PADSTALE share a bit
authorDavid Mitchell <davem@iabyn.com>
Fri, 7 Oct 2011 14:38:56 +0000 (15:38 +0100)
committerDavid Mitchell <davem@iabyn.com>
Fri, 7 Oct 2011 19:07:48 +0000 (20:07 +0100)
commit9a214eecd07ed44274740f81d8dce0e526badf80
tree1e33a4db9f23d13f72f267978a83a39188677a11
parentd0c0e7dd0ccf3d5c2f658529d3ee578a0bcb116e
make SVs_PADTMP and SVs_PADSTALE share a bit

SVs_PADSTALE is only meaningful with SVs_PADMY, while
SVs_PADTMP is only meaningful with !SVs_PADMY,
so let them share the same flag bit.

Note that this doesn't yet free a bit in SvFLAGS, as the two
bits are also used for SVpad_STATE, SVpad_TYPED.

(This is is follow-on to 62bb6514085e5eddc42b4fdaf3713ccdb7f1da85.)
dump.c
pad.c
pp_ctl.c
scope.c
sv.c
sv.h