This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pad.c:pad_tidy: Remove redundant IS_PADGV
authorFather Chrysostomos <sprout@cpan.org>
Thu, 18 Sep 2014 03:23:29 +0000 (20:23 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 18 Sep 2014 06:39:28 +0000 (23:39 -0700)
commitb561f196294beb142a9daf3d93f7d3f067e07fe7
tree4bdbefe8ec50c9a55f96b0c7629353adcdfb425d
parent13381c391de0642003d3624c1d0fe8546509d142
pad.c:pad_tidy: Remove redundant IS_PADGV

GVs are stored in the pads in two code paths, newPADOP when called by
newGVOP, and ck_rvconst.  Both of those now set the pad name to
&PL_sv_no, as of c9859fbde1 and c2bad63bb3.  So GVs are now excluded
from the check a few lines below, just like constants.
pad.c