X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FScope-Upper.git;a=blobdiff_plain;f=Upper.xs;h=0c762de1dcb947d420bd265d01231d8cec433d7e;hp=7d994fcdf5e83105e985ca71da13416ca6da1828;hb=HEAD;hpb=c8fb3ada01d8c1a6ac1a37778edb0fc9164d7bf1 diff --git a/Upper.xs b/Upper.xs index 7d994fc..7be4f69 100644 --- a/Upper.xs +++ b/Upper.xs @@ -2034,9 +2034,11 @@ static int su_uplevel_runops_hook_entersub(pTHX) { AvFILLp(av) = fill; } +#if !XSH_HAS_PERL(5, 37, 10) /* should be referenced by PL_curpad[0] and *_ */ assert(SvREFCNT(PL_curpad[0]) > 1); SvREFCNT_dec(PL_curpad[0]); +#endif PL_curpad[0] = (SV *) av; }