summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-04-20 16:09:31 +0000
committerNicholas Clark <nick@ccl4.org>2007-04-20 16:09:31 +0000
commit434ec8674831cacab31d87425c59901c395d912d (patch)
tree1d0b315961264fdced9324fea0095a31dfacb4a3 /hv.h
parent8437fcd6967464e85524d69a755f5e765d8bef73 (diff)
downloadperl-434ec8674831cacab31d87425c59901c395d912d.tar.gz
Make struct mro_meta 4(ish) bytes smaller.
p4raw-id: //depot/perl@30999
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/hv.h b/hv.h
index a5ea429b78..7047ea0226 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.