summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorBrandon Black <blblack@gmail.com>2007-04-29 12:27:03 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-04-30 09:22:58 +0000
commitdd69841bebe1fc7f7a6b248576221520a0418d52 (patch)
tree03f70519210b8c576d1dde888623afef3e9882ba /hv.h
parent49d7dfbcef7527d25e8c34643f831ef2416923a3 (diff)
downloadperl-dd69841bebe1fc7f7a6b248576221520a0418d52.tar.gz
Re: mro status, etc
From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60704291527y1b39be37l221ef66e4c828f66@mail.gmail.com> p4raw-id: //depot/perl@31107
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/hv.h b/hv.h
index a82958f7a8..67432e9ee4 100644
--- a/hv.h
+++ b/hv.h
@@ -47,17 +47,11 @@ typedef enum {
} mro_alg;
struct mro_meta {
- AV *mro_linear_dfs; /* cached dfs @ISA linearization */
- AV *mro_linear_c3; /* cached c3 @ISA linearization */
- HV *mro_isarev; /* reverse @ISA dependencies (who depends on us?) */
- HV *mro_nextmethod; /* next::method caching */
- 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 */
+ AV *mro_linear_dfs; /* cached dfs @ISA linearization */
+ AV *mro_linear_c3; /* cached c3 @ISA linearization */
+ HV *mro_nextmethod; /* next::method caching */
+ U32 cache_gen; /* Bumping this invalidates our method cache */
+ mro_alg mro_which; /* which mro alg is in use? */
};
/* Subject to change.