This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make Perl_scalar() mostly non-recursive
authorDavid Mitchell <davem@iabyn.com>
Tue, 28 May 2019 14:23:44 +0000 (15:23 +0100)
committerDavid Mitchell <davem@iabyn.com>
Mon, 24 Jun 2019 10:40:07 +0000 (11:40 +0100)
Where it just recursively calls scalar() on all its children, instead
iteratively walk the sub-tree, using o->op_sibparent to work back
upwards.

Where it is more complex, such as OP_REPEAT imposing scalar context on its
first arg but not its second, recurse as before.


No differences found