This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Stop turning off bit 1 in rv2cv private flags
authorFather Chrysostomos <sprout@cpan.org>
Sat, 30 Aug 2014 04:57:53 +0000 (21:57 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 30 Aug 2014 04:57:53 +0000 (21:57 -0700)
commita15e89ac5c766f670b4f759b6a9026a3b9067505
treef116bdaa2208f5e5bf8b053c429551b345247c69
parent8efbd48ab3faa50b4372887a710bfb863a84e845
Stop turning off bit 1 in rv2cv private flags

newUNOP turns on that bit by default, to indicate that the op
has one kid.

rv2cv was using that bit for something else, so three code paths had
to turn it off.

Two commits ago, rv2cv stopped using that bit, so turning it off
is no longer necessary.  It was because the flag using that bit,
OPpMAY_RETURN_CONSTANT, needed to be passed to newUNOP, that it had
to change.
op.c