From 6e22b38560ae8c2f1293a7f9bc2709541ea4d528 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Sat, 14 Jul 2012 19:00:48 -0700 Subject: [PATCH] dump.c: Dump op->op_s(labbed|avefree) --- dump.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dump.c b/dump.c index ebfb3db5f379..022983d8a944 100644 --- a/dump.c +++ b/dump.c @@ -883,7 +883,7 @@ Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o) #ifdef DUMPADDR Perl_dump_indent(aTHX_ level, file, "ADDR = 0x%"UVxf" => 0x%"UVxf"\n", (UV)o, (UV)o->op_next); #endif - if (o->op_flags) { + if (o->op_flags || o->op_slabbed || o->op_savefree) { SV * const tmpsv = newSVpvs(""); switch (o->op_flags & OPf_WANT) { case OPf_WANT_VOID: @@ -900,6 +900,8 @@ Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o) break; } append_flags(tmpsv, o->op_flags, op_flags_names); + if (o->op_slabbed) sv_catpvs(tmpsv, ",SLABBED"); + if (o->op_savefree) sv_catpvs(tmpsv, ",SAVEFREE"); Perl_dump_indent(aTHX_ level, file, "FLAGS = (%s)\n", SvCUR(tmpsv) ? SvPVX_const(tmpsv) + 1 : ""); SvREFCNT_dec(tmpsv); }