This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
missed one PAD_SET_CUR
authorDave Mitchell <davem@fdisolutions.com>
Sat, 2 Jul 2005 12:35:12 +0000 (12:35 +0000)
committerDave Mitchell <davem@fdisolutions.com>
Sat, 2 Jul 2005 12:35:12 +0000 (12:35 +0000)
p4raw-id: //depot/perl@25046

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));
        }
-       PAD_SET_CUR(padlist, CvDEPTH(cv));
+       SAVECOMPPAD();
+       PAD_SET_CUR_NOSAVE(padlist, CvDEPTH(cv));
        if (hasargs)
        {
            AV* av;