This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
op.c:newASSIGNOP: Rmv LINKLIST call
authorFather Chrysostomos <sprout@cpan.org>
Fri, 10 Oct 2014 05:05:15 +0000 (22:05 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 11 Oct 2014 07:10:19 +0000 (00:10 -0700)
commit3f36a1c3df7980cdf732766684c17dd6f9ebbb19
treef815589fd81a2ab8f0f12501b8adc853794156d8
parentbd2688c4c50527e5796ba4bc132c379f11e57112
op.c:newASSIGNOP: Rmv LINKLIST call

Originally, aassign_common_vars used LINKLIST itself because it
was following op_next pointers.  That changed in 3023b5f30, so the
LINKLIST was moved outside that function.

The LINKLIST call could not simply have been deleted, because the
split optimisation that follows assumes that it has been called and
fixes up an op_next pointer.

If we remove the LINKLIST call *and* the op_next fix-up, then every-
thing works.  The op_next fix-up was only happening to begin with
because of LINKLIST.
op.c