summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-09-01 16:27:48 +0000
committerNicholas Clark <nick@ccl4.org>2006-09-01 16:27:48 +0000
commit1c75a43bf7257081c0bfa53f793afc33ee95ff02 (patch)
tree37fb00e35dc65350aa84c0ec579e2f9aff43ef62 /pp_ctl.c
parent006bba40b64d69fcc85f3e7a0fe4b845e93164c0 (diff)
downloadperl-1c75a43bf7257081c0bfa53f793afc33ee95ff02.tar.gz
Access to cx->blk_sub.lval via macros (as it's about to move).
p4raw-id: //depot/perl@28773
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 5efbdc5b2c..4a1c634681 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -1289,8 +1289,8 @@ Perl_is_lvalue_sub(pTHX)
const I32 cxix = dopoptosub(cxstack_ix);
assert(cxix >= 0); /* We should only be called from inside subs */
- if (cxstack[cxix].blk_sub.lval && CvLVALUE(cxstack[cxix].blk_sub.cv))
- return cxstack[cxix].blk_sub.lval;
+ if (CX_SUB_LVAL(cxstack + cxix) && CvLVALUE(cxstack[cxix].blk_sub.cv))
+ return CX_SUB_LVAL(cxstack + cxix);
else
return 0;
}