diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-01-26 21:55:51 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-01-26 21:55:51 +0000 |
commit | e846cb9248fdbc78eb6a883f17c20c3785e7f2de (patch) | |
tree | c3b5c507e2e7c5d20e59d2efaa287dc13c766ce6 /op.h | |
parent | 09edbca0f5c7caf9dd4acef80d8e6275e5a95ea1 (diff) | |
download | perl-e846cb9248fdbc78eb6a883f17c20c3785e7f2de.tar.gz |
The layout for struct block_loop under ithreads can be simplified.
Instead of wedging the pad offset into a void* iterdata, and always
storing PL_comppad even when it isn't used, instead do this:
PAD *oldcomppad; /* Also used for the GV, if targoffset is 0 */
/* This is also accesible via cx->blk_loop.my_op->op_targ */
PADOFFSET targoffset;
and store the GV pointer in oldcompad. Pointers to pointers seems
cleaner. This also allows us to eliminate the flag bit CXp_PADVAR.
p4raw-id: //depot/perl@33081
Diffstat (limited to 'op.h')
0 files changed, 0 insertions, 0 deletions