This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Stop using IV in pmop; remove workaround
authorFather Chrysostomos <sprout@cpan.org>
Sun, 7 Jul 2013 01:00:34 +0000 (18:00 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 7 Jul 2013 01:00:47 +0000 (18:00 -0700)
commit784e50c8da79a6e5fc81a8c9e45f92391cea62f1
tree49d5ec5b019c780147fdbcd37520c9b1be4d45a1
parentf6b735321ca924f8fa393e5723c494c644a1f943
Stop using IV in pmop; remove workaround

See ticket #118055 for all the detail.  On systems where IV is bigger
than a pointer, the slab allocator messes things up because it only
provides pointer alignment.  If pmops have an IV field, we cannot
allocate them via slab on such systems.  Pmops actually don’t need
an IV, just a PADOFFSET.  So we can change them and remove the
workaround.

This is obviously not suitable for maint.
op.c
op.h