summaryrefslogtreecommitdiff
path: root/universal.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-05-18 06:30:18 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-05-21 18:09:25 -0700
commit1a71e8b8cea1268e5af2d95d4f60910d5e1eef7c (patch)
treed99615ac176d2a160ebb36fa22d05ce94808b2c2 /universal.c
parent08b684c92a9b7318ff7c7222d6f224eeba346f68 (diff)
downloadperl-1a71e8b8cea1268e5af2d95d4f60910d5e1eef7c.tar.gz
Don’t incr PL_amagic_generation in universal.c
In boot_core_UNIVERSAL, there is no need to increment PL_amagic_generation to indicate that there are classes using over- loading. The previous commit removed the only use of it that required it to be non-zero for overloading to work.
Diffstat (limited to 'universal.c')
-rw-r--r--universal.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/universal.c b/universal.c
index b3c701540e..b37b0bac8d 100644
--- a/universal.c
+++ b/universal.c
@@ -1419,9 +1419,6 @@ Perl_boot_core_UNIVERSAL(pTHX)
newXS_flags(xsub->name, xsub->xsub, file, xsub->proto, 0);
} while (++xsub < end);
- /* register the overloading (type 'A') magic */
- PL_amagic_generation++;
-
/* Providing a Regexp::DESTROY fixes #21347. See test in t/op/ref.t */
{
CV * const cv =