add aux_flags field to HVs with aux struct
authorDavid Mitchell <davem@iabyn.com>
Sat, 15 Feb 2014 16:15:11 +0000 (16:15 +0000)
committerDavid Mitchell <davem@iabyn.com>
Fri, 28 Feb 2014 13:42:49 +0000 (13:42 +0000)
commit0c22a733be05b5c1393fc9a2e337dbeed2881596
treef1970541f1fcb7a3ff4d4eded42d111fd0a385aa
parentb024352e692dd231fd32548e325d75b667bff29f
add aux_flags field to HVs with aux struct

Add an extra U32 general flags field to the xpvhv_aux struct (which is
used on HVs such as stashes, that need extra fields).

On 64-bit systems, this doesn't consume any extra space since there's
already an odd number of I32/U32 fields. On 32-bit systems it will consume
an  extra 4 bytes. But of course only on those hashes that have the aux
struct.

As well as providing extra flags in the AUX case, it will also allow
us to free up at least one general flag bit for HVs - see next commit.
dump.c
ext/Devel-Peek/t/Peek.t
hv.c
hv.h
sv.c