This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
document unrolled PUSHSUB/POPSUB
[perl5.git] / pp_ctl.c
index 66a78c2..455b7cf 100644 (file)
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -2726,6 +2726,9 @@ PP(pp_goto)
                SvREFCNT_dec(cv);
                DIE(aTHX_ "Can't goto subroutine from a sort sub (or similar callback)");
            }
+
+            /* partial unrolled POPSUB(): */
+
            if (CxTYPE(cx) == CXt_SUB && CxHASARGS(cx)) {
                AV* av = cx->blk_sub.argarray;
 
@@ -2823,6 +2826,9 @@ PP(pp_goto)
            }
            else {
                PADLIST * const padlist = CvPADLIST(cv);
+
+                /* partial unrolled PUSHSUB(): */
+
                cx->blk_sub.cv = cv;
                cx->blk_sub.olddepth = CvDEPTH(cv);