This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make PL_(top|body|form)target PVIVs
authorFather Chrysostomos <sprout@cpan.org>
Sun, 5 Aug 2012 07:15:52 +0000 (00:15 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 5 Aug 2012 20:18:50 +0000 (13:18 -0700)
commitf2da823f484d421a6bb57e32e442b19b553f4b35
treea1257b3e9d3f0b55dd912ce2b17f9fde7dff1492
parent9a7154347977e29a815d93c0097c5a9b660006b2
Make PL_(top|body|form)target PVIVs

These are only used for storing a string and an IV.

Making them into full-blown SVt_PVFMs is overkill.

FmLINES was only being used on these three scalars.  So make it use
the SvIVX field.  struct xpvfm no longer needs an xfm_lines member,
because SVt_PVFMs no longer use it.

This also causes a TODO test in taint.t to start passing, but I do
not fully understand why.  But at least that’s progress. :-)
dump.c
ext/B/B.xs
mg.c
perl.c
sv.h
t/op/taint.t