This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[MERGE] redo boolean context
authorDavid Mitchell <davem@iabyn.com>
Fri, 6 Jan 2017 16:28:50 +0000 (16:28 +0000)
committerDavid Mitchell <davem@iabyn.com>
Fri, 6 Jan 2017 16:28:50 +0000 (16:28 +0000)
Overhaul the stuff that flags an op as being in boolean context (currently
just padhv and rv2hv). Make the mechanism in rpeep() general, so that
other ops can be easily added in future, and add a generic testing
framework for such ops in t/perf/optree.t.

This alters the amount on situations recognised as being in boolean
context (mainly increasing them).


Trivial merge