summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2005-07-01 15:40:40 +0000
committerDave Mitchell <davem@fdisolutions.com>2005-07-01 15:40:40 +0000
commitfd617465265ed0cd97256c819ae8e3e4cde70989 (patch)
tree5fa796d09f8279cd6ba1d45cb2f7e0335a6c0ce1 /pp_ctl.c
parentd951c35852a72e504eea00883fb91f69a81b8ce3 (diff)
downloadperl-fd617465265ed0cd97256c819ae8e3e4cde70989.tar.gz
the PAD_SET_CUR macro expanded too much for AIX compilers
p4raw-id: //depot/perl@25042
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 13a943c071..40cf312ecc 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -1778,7 +1778,8 @@ PP(pp_dbstate)
PUSHSUB_DB(cx);
cx->blk_sub.retop = PL_op->op_next;
CvDEPTH(cv)++;
- PAD_SET_CUR(CvPADLIST(cv),1);
+ SAVECOMPPAD();
+ PAD_SET_CUR_NOSAVE(CvPADLIST(cv), 1);
RETURNOP(CvSTART(cv));
}
else
@@ -2417,7 +2418,8 @@ PP(pp_goto)
sub_crush_depth(cv);
pad_push(padlist, CvDEPTH(cv));
}
- PAD_SET_CUR(padlist, CvDEPTH(cv));
+ SAVECOMPPAD();
+ PAD_SET_CUR_NOSAVE(padlist, CvDEPTH(cv));
if (cx->blk_sub.hasargs)
{
AV* av = (AV*)PAD_SVl(0);