This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Perl_list(): simplify some branches
authorDavid Mitchell <davem@iabyn.com>
Wed, 22 May 2019 10:27:20 +0000 (11:27 +0100)
committerDavid Mitchell <davem@iabyn.com>
Mon, 24 Jun 2019 10:40:06 +0000 (11:40 +0100)
commit2a45276d6b8bc80148dfa02f02ce12024d491573
treef55b5c544e24b2729540aaf7e40d5f818b256ff2
parent0f194c83b0f19f7917e6f8b1218d49858220cda6
Perl_list(): simplify some branches

Remove some explicit cases that just do the same as 'default:'

Also, remove OP_FLOP as a special case and just let it do the default.
This is the same behaviour (apply list() to its one child), except
that it also now does a harmless but (always false) check whether it's
child is an OP_FLOP too.
op.c