summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-11-05 08:32:39 +0000
committerNicholas Clark <nick@ccl4.org>2005-11-05 08:32:39 +0000
commit2bd49cfcbebe5157c802aba335cb6f76b1afa6fd (patch)
treefee0f53192c972d496848046c258bc06d07637a1
parente52fd6f4ebd87d6146c934dfc974265434a96d9b (diff)
downloadperl-2bd49cfcbebe5157c802aba335cb6f76b1afa6fd.tar.gz
dorassign doesn't need --SP;
p4raw-id: //depot/perl@26010
-rw-r--r--pp_hot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 2a08525cc0..7b80467df6 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -336,7 +336,8 @@ PP(pp_defined)
if(op_type == OP_DOR || op_type == OP_DORASSIGN) {
sv = TOPs;
if (!sv || !SvANY(sv)) {
- --SP;
+ if (op_type == OP_DOR)
+ --SP;
RETURNOP(cLOGOP->op_other);
}
} else if (op_type == OP_DEFINED) {