summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-12-27 11:05:03 +0000
committerNicholas Clark <nick@ccl4.org>2008-12-27 21:12:13 +0000
commit3a6fa573ae4863261f94be7a4dad29a13b1652be (patch)
tree141482451ba5c4b1b2647e078c458ea21e2935e1 /hv.c
parent31b9005d8ff165a414c5e3493027e1656d7e810f (diff)
downloadperl-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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hv.c b/hv.c
index 562a06b975..f0572f3f01 100644
--- a/hv.c
+++ b/hv.c
@@ -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);