diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-12-27 11:05:03 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-12-27 21:12:13 +0000 |
commit | 3a6fa573ae4863261f94be7a4dad29a13b1652be (patch) | |
tree | 141482451ba5c4b1b2647e078c458ea21e2935e1 /hv.c | |
parent | 31b9005d8ff165a414c5e3493027e1656d7e810f (diff) | |
download | perl-3a6fa573ae4863261f94be7a4dad29a13b1652be.tar.gz |
In struct mro_meta, rename mro_linear_c3 to mro_linear_current, and change it
from AV * to SV *.
Diffstat (limited to 'hv.c')
-rw-r--r-- | hv.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1698,12 +1698,12 @@ S_hfreeentries(pTHX_ HV *hv) SvREFCNT_dec(MUTABLE_SV(meta->mro_linear_dfs)); meta->mro_linear_dfs = NULL; /* This is just acting as a shortcut pointer. */ - meta->mro_linear_c3 = NULL; - } else if (meta->mro_linear_c3) { + meta->mro_linear_current = NULL; + } else if (meta->mro_linear_current) { /* Only the current MRO is stored, so this owns the data. */ - SvREFCNT_dec(MUTABLE_SV(meta->mro_linear_c3)); - meta->mro_linear_c3 = NULL; + SvREFCNT_dec(meta->mro_linear_current); + meta->mro_linear_current = NULL; } if(meta->mro_nextmethod) SvREFCNT_dec(meta->mro_nextmethod); SvREFCNT_dec(meta->isa); |