From: Nicholas Clark Date: Fri, 20 Apr 2007 16:09:31 +0000 (+0000) Subject: Make struct mro_meta 4(ish) bytes smaller. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=434ec8674831cacab31d87425c59901c395d912d;p=p5sagit%2Fp5-mst-13.2.git Make struct mro_meta 4(ish) bytes smaller. p4raw-id: //depot/perl@30999 --- diff --git a/hv.h b/hv.h index a5ea429..7047ea0 100644 --- a/hv.h +++ b/hv.h @@ -51,13 +51,13 @@ struct mro_meta { AV *mro_linear_c3; /* cached c3 @ISA linearization */ HV *mro_isarev; /* reverse @ISA dependencies (who depends on us?) */ HV *mro_nextmethod; /* next::method caching */ - mro_alg mro_which; /* which mro alg is in use? */ - U32 sub_generation; /* Like PL_sub_generation, but stash-local */ - I32 is_universal; /* We are UNIVERSAL or a potentially indirect - member of @UNIVERSAL::ISA */ - I32 fake; /* setisa made this fake package, - gv_fetchmeth pays attention to this, - and "package" sets it back to zero */ + U32 sub_generation; /* Like PL_sub_generation, but stash-local */ + mro_alg mro_which; /* which mro alg is in use? */ + unsigned int is_universal : 1; /* We are UNIVERSAL or a potentially + indirect member of @UNIVERSAL::ISA */ + unsigned int fake : 1; /* setisa made this fake package, + gv_fetchmeth pays attention to this, + and "package" sets it back to zero */ }; /* Subject to change.