summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-11-16 05:18:59 -0800
committerFather Chrysostomos <sprout@cpan.org>2013-11-16 05:18:59 -0800
commit67b1d4116441b78d43e85ca26e514f9dc914d914 (patch)
treecd5c33d3f50f909b547bc90bb77e3bd2b05eff06 /gv.c
parentbfe1187367fb54e8ac3a13703b06f6119d6bc035 (diff)
downloadperl-67b1d4116441b78d43e85ca26e514f9dc914d914.tar.gz
gv.c: Remove redundant mro_method_changed_in()
Core subs are already accounted for by method lookup, so vivifying them does not change what gets inherited. Hence, there is no need to flush caches here.
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gv.c b/gv.c
index ebb42826c2..041607bbe3 100644
--- a/gv.c
+++ b/gv.c
@@ -519,7 +519,6 @@ S_maybe_add_coresub(pTHX_ HV * const stash, GV *gv,
cv = MUTABLE_CV(newSV_type(SVt_PVCV));
GvCV_set(gv,cv);
GvCVGEN(gv) = 0;
- mro_method_changed_in(GvSTASH(gv));
CvISXSUB_on(cv);
CvXSUB(cv) = core_xsub;
}