diff options
author | Father Chrysostomos <sprout@cpan.org> | 2013-11-16 05:18:59 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-11-16 05:18:59 -0800 |
commit | 67b1d4116441b78d43e85ca26e514f9dc914d914 (patch) | |
tree | cd5c33d3f50f909b547bc90bb77e3bd2b05eff06 /gv.c | |
parent | bfe1187367fb54e8ac3a13703b06f6119d6bc035 (diff) | |
download | perl-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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; } |