In Perl_do_sv_dump(), for PVCV and PVFM, test for SvCOMPILED(sv) last.
authorNicholas Clark <nick@ccl4.org>
Fri, 28 May 2010 10:50:54 +0000 (11:50 +0100)
committerNicholas Clark <nick@ccl4.org>
Fri, 28 May 2010 10:50:54 +0000 (11:50 +0100)
dump.c

diff --git a/dump.c b/dump.c
index a794ede..a8c5d7a 100644 (file)
--- a/dump.c
+++ b/dump.c
@@ -1532,10 +1532,10 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo
        if (CvCLONED(sv))       sv_catpv(d, "CLONED,");
        if (CvCONST(sv))        sv_catpv(d, "CONST,");
        if (CvNODEBUG(sv))      sv_catpv(d, "NODEBUG,");
-       if (SvCOMPILED(sv))     sv_catpv(d, "COMPILED,");
        if (CvLVALUE(sv))       sv_catpv(d, "LVALUE,");
        if (CvMETHOD(sv))       sv_catpv(d, "METHOD,");
        if (CvWEAKOUTSIDE(sv))  sv_catpv(d, "WEAKOUTSIDE,");
+       if (SvCOMPILED(sv))     sv_catpv(d, "COMPILED,");
        break;
     case SVt_PVHV:
        if (HvSHAREKEYS(sv))    sv_catpv(d, "SHAREKEYS,");