This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
set VOID on OP_ENTER
authorDavid Mitchell <davem@iabyn.com>
Wed, 18 Sep 2019 11:28:18 +0000 (12:28 +0100)
committerDavid Mitchell <davem@iabyn.com>
Thu, 19 Sep 2019 07:42:46 +0000 (08:42 +0100)
commit4176abf7a8e425113debe55679c99b59bb9d299a
treef8950218aeee9cad215793ef9cba187c8d24a207
parent068b48acd4bdf9e7c69b87f4ba838bdff035053c
set VOID on OP_ENTER

The OP_ENTER planted at the start of a program (and possibly elsewhere)
gets left as UNKNOWN context rather than VOID context, due to op_scope()
not honouring the current context.

Fixing this makes things infinitesimally faster.
ext/B/t/optree_concise.t
ext/B/t/optree_constants.t
ext/B/t/optree_misc.t
ext/B/t/optree_samples.t
ext/B/t/optree_sort.t
ext/B/t/optree_varinit.t
ext/Devel-Peek/t/Peek.t
op.c