diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-12-26 16:38:58 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-12-27 21:12:12 +0000 |
commit | fa60396f123333e92849ecaecffb9252458d6678 (patch) | |
tree | e6d2e126ebe2b4d2d36b6f04080fc42bab9e7f65 /hv.c | |
parent | 4e7245b5373225aafe95c40cba1590f590d1c782 (diff) | |
download | perl-fa60396f123333e92849ecaecffb9252458d6678.tar.gz |
Repurpose struct mro_meta to allow it to store cached linear ISA for arbitary
method resolution orders.
mro_linear_dfs becomes a hash holding the different MROs' private data.
mro_linear_c3 becomes a shortcut pointer to the current MRO's private data.
Diffstat (limited to 'hv.c')
-rw-r--r-- | hv.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1695,7 +1695,6 @@ S_hfreeentries(pTHX_ HV *hv) if((meta = iter->xhv_mro_meta)) { if(meta->mro_linear_dfs) SvREFCNT_dec(meta->mro_linear_dfs); - if(meta->mro_linear_c3) SvREFCNT_dec(meta->mro_linear_c3); if(meta->mro_nextmethod) SvREFCNT_dec(meta->mro_nextmethod); SvREFCNT_dec(meta->isa); Safefree(meta); |