summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-08-05 00:15:52 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-08-05 13:18:50 -0700
commitf2da823f484d421a6bb57e32e442b19b553f4b35 (patch)
treea1257b3e9d3f0b55dd912ce2b17f9fde7dff1492 /dump.c
parent9a7154347977e29a815d93c0097c5a9b660006b2 (diff)
downloadperl-f2da823f484d421a6bb57e32e442b19b553f4b35.tar.gz
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. :-)
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dump.c b/dump.c
index 022983d8a9..c7a40a6949 100644
--- a/dump.c
+++ b/dump.c
@@ -1924,8 +1924,6 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo
Perl_dump_indent(aTHX_ level, file, " DEPTH = %"IVdf"\n", (IV)CvDEPTH(sv));
Perl_dump_indent(aTHX_ level, file, " FLAGS = 0x%"UVxf"\n", (UV)CvFLAGS(sv));
Perl_dump_indent(aTHX_ level, file, " OUTSIDE_SEQ = %"UVuf"\n", (UV)CvOUTSIDE_SEQ(sv));
- if (type == SVt_PVFM)
- Perl_dump_indent(aTHX_ level, file, " LINES = %"IVdf"\n", (IV)FmLINES(sv));
Perl_dump_indent(aTHX_ level, file, " PADLIST = 0x%"UVxf"\n", PTR2UV(CvPADLIST(sv)));
if (nest < maxnest) {
do_dump_pad(level+1, file, CvPADLIST(sv), 0);