summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-12-26 22:14:00 +0000
committerDavid Mitchell <davem@iabyn.com>2016-02-03 09:19:19 +0000
commitf217cb3da329df6eff821d4b417ffdbeb710a939 (patch)
treeb6b19c636cbec8763343cf228ccdb2124e9575c5 /pp_ctl.c
parent75fbe096559dec1fe47be934ddb090971f3d1deb (diff)
downloadperl-f217cb3da329df6eff821d4b417ffdbeb710a939.tar.gz
eliminate PUSH/POPBASICBLK macros
These are both NOOPs now, and were introduced within this branch as a temporary measure while extra stuff needed doing when pushing or popping a CXt_BOCK (pp_enter/pp_leave).
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index a65afbbeec..fd6309becb 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -1536,9 +1536,6 @@ Perl_dounwind(pTHX_ I32 cxix)
case CXt_EVAL:
CX_POPEVAL(cx);
break;
- case CXt_BLOCK:
- CX_POPBASICBLK(cx);
- break;
case CXt_LOOP_PLAIN:
case CXt_LOOP_LAZYIV:
case CXt_LOOP_LAZYSV:
@@ -1552,8 +1549,9 @@ Perl_dounwind(pTHX_ I32 cxix)
case CXt_GIVEN:
CX_POPGIVEN(cx);
break;
+ case CXt_BLOCK:
case CXt_NULL:
- /* there isn't a CX_POPNULL ! */
+ /* these two don't have a POPFOO() */
break;
case CXt_FORMAT:
CX_POPFORMAT(cx);
@@ -2038,7 +2036,6 @@ PP(pp_enter)
I32 gimme = GIMME_V;
PUSHBLOCK(cx, CXt_BLOCK, gimme, SP, PL_savestack_ix);
- PUSHBASICBLK(cx);
RETURN;
}
@@ -2065,7 +2062,6 @@ PP(pp_leave)
PL_op->op_private & OPpLVALUE ? 3 : 1);
CX_LEAVE_SCOPE(cx);
- CX_POPBASICBLK(cx);
CX_POPBLOCK(cx);
CX_POP(cx);