This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
reorder 'struct block' fields.
authorDavid Mitchell <davem@iabyn.com>
Sat, 17 Oct 2015 14:22:05 +0000 (15:22 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 09:18:30 +0000 (09:18 +0000)
commitf284fecd86b66528552854be16564b432fd1480c
tree88c78dba984af5e3d19c84ad254148cdfb81a320
parente992140c0e6f8ddfe08a88cc28a1d24149061d74
reorder 'struct block' fields.

On 64-bit builds, there was a 32-bit hole near the beginning. Shuffle this
towards the middle of the struct (just before the blk_u union).

Unfortunately this (moved) hole can't be filled by having an I32 at the
start of each union member, since struct block_eval is already the largest
and has no 32-bit fields.

Still, moving further on than some of the hotter fields can't hurt.
cop.h