This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Assert valid op_private bits in op_free()
authorDavid Mitchell <davem@iabyn.com>
Fri, 5 Sep 2014 16:12:27 +0000 (17:12 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 10 Sep 2014 13:25:05 +0000 (14:25 +0100)
commitd0c8136d16b18be562680c1f71b02490218427f2
treea0de075f9bba864fd6532819fbaa5ea4a8ac7670
parent0ef96805f64e8a30fc79019cea63b653fd0a61e9
Assert valid op_private bits in op_free()

On debugging builds, when freeing an op, check that that there are
no bits set in op_private that we're not aware of (as defined by
PL_op_private_valid[[]).

If breakage is bisected to this commit, it either means that something
should be added to regen/op_private (if the op having that bit set is in
fact legitimate), or fixing the op generation code if not.
op.c