summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-24 13:57:20 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-24 13:57:20 +0000
commit493b0a3c46c2cc9f06bf88c450ded6aa981c4fd3 (patch)
tree7d6dfdd735cd260a345eb8489b3d7976428943eb /scope.c
parentc25bf6989edf21dd302c4e306179cfffbc11bb5f (diff)
downloadperl-493b0a3c46c2cc9f06bf88c450ded6aa981c4fd3.tar.gz
In struct block_loop, merge itermax and iterlval into a union
lval_max_u, as CXt_LOOP_LAZYIV doesn't use iterlval and the other LOOP types don't use itermax. This reduces struct block_loop by 1 IV. As it's the largest component of the unions making up struct context, this reduces struct context. On ILP32 it will now be 56 bytes, down from the 64 of 5.10.x, as I've already removed the element 'label'. p4raw-id: //depot/perl@33063
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index e02a302812..c78c33c76a 100644
--- a/scope.c
+++ b/scope.c
@@ -1104,7 +1104,7 @@ Perl_cx_dump(pTHX_ PERL_CONTEXT *cx)
PerlIO_printf(Perl_debug_log, "BLK_LOOP.ITERSAVE = 0x%"UVxf"\n",
PTR2UV(cx->blk_loop.itersave));
PerlIO_printf(Perl_debug_log, "BLK_LOOP.ITERLVAL = 0x%"UVxf"\n",
- PTR2UV(cx->blk_loop.iterlval));
+ PTR2UV(cx->blk_loop.lval_max_u.iterlval));
break;
case CXt_SUBST: