diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-01-20 20:40:38 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-01-20 20:40:38 +0000 |
commit | a61a7064557baa67e0ffb901e9b818027edd3eb7 (patch) | |
tree | d9212ebcbfb021c5f6bbe2a9fbf0e0f8e8b97d3e /cop.h | |
parent | f9c764c5b8dcfa74adde8337ee9a5db227b55f56 (diff) | |
download | perl-a61a7064557baa67e0ffb901e9b818027edd3eb7.tar.gz |
Eliminate label from struct block_loop, as it can be accessed via
oldcop.
p4raw-id: //depot/perl@33015
Diffstat (limited to 'cop.h')
-rw-r--r-- | cop.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -427,7 +427,6 @@ struct block_eval { /* loop context */ struct block_loop { - char * label; I32 resetsp; LOOP * my_op; /* My op, that contains redo, next and last ops. */ /* (except for non_ithreads we need to modify next_op in pp_ctl.c, hence @@ -485,7 +484,7 @@ struct block_loop { else \ cx->blk_loop.itersave = NULL; #endif -#define CxLABEL(c) (0 + (c)->blk_loop.label) +#define CxLABEL(c) (0 + (c)->blk_oldcop->cop_label) #ifdef USE_ITHREADS # define PUSHLOOP_OP_NEXT /* No need to do anything. */ @@ -496,7 +495,6 @@ struct block_loop { #endif #define PUSHLOOP(cx, dat, s) \ - cx->blk_loop.label = PL_curcop->cop_label; \ cx->blk_loop.resetsp = s - PL_stack_base; \ cx->blk_loop.my_op = cLOOP; \ PUSHLOOP_OP_NEXT; \ |