summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-10-21 09:41:52 +0100
committerDavid Mitchell <davem@iabyn.com>2016-02-03 09:18:31 +0000
commit5e691bc619be723fd99b9cc9acc13d3030b412c5 (patch)
tree1a06b37e986ed1242d6d520602070d57e6d48d96 /pp_ctl.c
parent4ebe6e957149a0288810b6241653721d805397aa (diff)
downloadperl-5e691bc619be723fd99b9cc9acc13d3030b412c5.tar.gz
rename DEBUG_CX() to CX_DEBUG()
For consistency with the new naming convention for context-stack macros. Also, give it a cx arg rather than using CX_CUR()
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 045e1d350b..f2c30f4c70 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -1513,7 +1513,8 @@ Perl_dounwind(pTHX_ I32 cxix)
while (cxstack_ix > cxix) {
PERL_CONTEXT *cx = CX_CUR();
- DEBUG_CX("UNWIND");
+
+ CX_DEBUG(cx, "UNWIND");
/* Note: we don't need to restore the base context info till the end. */
CX_LEAVE_SCOPE(cx);
@@ -1811,7 +1812,7 @@ PP(pp_caller)
RETURN;
}
- DEBUG_CX("CALLER");
+ CX_DEBUG(cx, "CALLER");
assert(CopSTASH(cx->blk_oldcop));
stash_hek = SvTYPE(CopSTASH(cx->blk_oldcop)) == SVt_PVHV
? HvNAME_HEK((HV*)CopSTASH(cx->blk_oldcop))