summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorStephen McCamant <smcc@mit.edu>1999-06-25 08:38:44 -0500
committerGurusamy Sarathy <gsar@cpan.org>1999-07-07 08:07:49 +0000
commit1a67a97c0300941ac67bfb1dd421467b8c59e21c (patch)
tree6af0288c91ab32f5ab3c8f6aabdca7d3b00e0e3e /pp_ctl.c
parentc4be5b273ea01a42f8bea870c9703dc3eaa652b6 (diff)
downloadperl-1a67a97c0300941ac67bfb1dd421467b8c59e21c.tar.gz
Eliminate CONDOPs
Message-ID: <14193.25034.113373.245377@alias-2.pr.mcs.net> p4raw-id: //depot/perl@3637
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 21d03351ef..1a15a01507 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -1022,11 +1022,11 @@ PP(pp_sort)
PP(pp_range)
{
if (GIMME == G_ARRAY)
- return cCONDOP->op_true;
+ return NORMAL;
if (SvTRUEx(PAD_SV(PL_op->op_targ)))
- return cCONDOP->op_false;
+ return cLOGOP->op_other;
else
- return cCONDOP->op_true;
+ return NORMAL;
}
PP(pp_flip)
@@ -1034,7 +1034,7 @@ PP(pp_flip)
djSP;
if (GIMME == G_ARRAY) {
- RETURNOP(((CONDOP*)cUNOP->op_first)->op_false);
+ RETURNOP(((LOGOP*)cUNOP->op_first)->op_other);
}
else {
dTOPss;
@@ -1052,7 +1052,7 @@ PP(pp_flip)
else {
sv_setiv(targ, 0);
SP--;
- RETURNOP(((CONDOP*)cUNOP->op_first)->op_false);
+ RETURNOP(((LOGOP*)cUNOP->op_first)->op_other);
}
}
sv_setpv(TARG, "");