This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #123223] Make PADNAME a separate type
authorFather Chrysostomos <sprout@cpan.org>
Fri, 28 Nov 2014 06:30:54 +0000 (22:30 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 30 Nov 2014 19:48:42 +0000 (11:48 -0800)
commit0f94cb1fe27e58a59d3391214dab34037ab184db
tree00f43fa153a153b7e2a1d1728b6a9880264fa132
parentb19cb98db58c735b4237857f7f69fd857d61934a
[perl #123223] Make PADNAME a separate type

distinct from SV.  This should fix the CPAN modules that were failing
when the PadnameLVALUE flag was added, because it shared the same
bit as SVs_OBJECT and pad names were going through code paths not
designed to handle pad names.

Unfortunately, it will probably break other CPAN modules, but I think
this change is for the better, as it makes both pad names and SVs sim-
pler and makes pad names take less memory.
17 files changed:
dump.c
embed.fnc
embed.h
ext/B/B.xs
ext/B/B/Showlex.pm
ext/B/Makefile.PL
ext/B/t/showlex.t
op.c
pad.c
pad.h
perl.h
pp.c
proto.h
scope.c
scope.h
sv.c
sv.h