summaryrefslogtreecommitdiff
path: root/mro.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2010-11-12 17:55:54 -0800
committerFather Chrysostomos <sprout@cpan.org>2010-11-12 17:55:54 -0800
commit4a3e2e140c4c423bb5f396ee20688bd423063d53 (patch)
tree375a0eec4e4a595a8bbb5edef26da3e071a3cf8d /mro.c
parent90ba1f34dee5c0381e098e7c0435f354e2e70cf8 (diff)
downloadperl-4a3e2e140c4c423bb5f396ee20688bd423063d53.tar.gz
Remove redundant call to mro_get_linear_isa
added by 80ebaca, like most of my recent mistakes.
Diffstat (limited to 'mro.c')
-rw-r--r--mro.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mro.c b/mro.c
index 80264c28b2..955ef901c1 100644
--- a/mro.c
+++ b/mro.c
@@ -570,11 +570,6 @@ Perl_mro_isa_changed_in(pTHX_ HV* stash)
HV * const isa = (HV *)HeVAL(iter);
const HEK *namehek;
- /* Re-calculate the linearisation, unless a previous iter-
- ation was for a subclass of this class. */
- if(!HvMROMETA(revstash)->isa)
- (void)mro_get_linear_isa(revstash);
-
/* We're starting at the 2nd element, skipping revstash */
linear_mro = mro_get_linear_isa(revstash);
svp = AvARRAY(linear_mro) + 1;