develooper Front page | perl.perl5.porters | Postings from April 2008

Re: Change 33656: Eliminate cop_label from struct cop by storing a label as the first

Thread Next
From:
Jerry D. Hedden
Date:
April 7, 2008 08:04
Subject:
Re: Change 33656: Eliminate cop_label from struct cop by storing a label as the first
Message ID:
1ff86f510804070803i156e9069m9246640f9707d0a9@mail.gmail.com
> Change 33656 by nicholas@mouse-mill on 2008/04/07 11:29:51
>
>         Eliminate cop_label from struct cop by storing a label as the first
>         entry in the hints hash. Most statements don't have labels, so this
>         will save memory. Not sure how much.
>
>  Affected files ...
>
>  ... //depot/perl/cop.h#179 edit
>  ... //depot/perl/embed.fnc#609 edit
>  ... //depot/perl/embed.h#756 edit
>  ... //depot/perl/ext/B/B/Deparse.pm#192 edit
>  ... //depot/perl/global.sym#354 edit
>  ... //depot/perl/hv.c#372 edit
>  ... //depot/perl/op.c#997 edit
>  ... //depot/perl/proto.h#944 edit

FYI, this change is producing the following build warning:

B.c: In function `XS_B__COP_label':
B.c:2865: warning: assignment discards qualifiers from pointer target type

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About