This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
missed one PAD_SET_CUR
[perl5.git] / pp_hot.c
index 13811f6..6d66beb 100644 (file)
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -2678,7 +2678,8 @@ PP(pp_entersub)
            PERL_STACK_OVERFLOW_CHECK();
            pad_push(padlist, CvDEPTH(cv));
        }
            PERL_STACK_OVERFLOW_CHECK();
            pad_push(padlist, CvDEPTH(cv));
        }
-       PAD_SET_CUR(padlist, CvDEPTH(cv));
+       SAVECOMPPAD();
+       PAD_SET_CUR_NOSAVE(padlist, CvDEPTH(cv));
        if (hasargs)
        {
            AV* av;
        if (hasargs)
        {
            AV* av;