This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Perl_try_amagic_bin(): eliminate dATARGET
authorDavid Mitchell <davem@iabyn.com>
Mon, 4 Feb 2019 14:52:01 +0000 (14:52 +0000)
committerDavid Mitchell <davem@iabyn.com>
Tue, 5 Feb 2019 14:03:05 +0000 (14:03 +0000)
commit9b2983ca78e5369d17559ca0aa5af58e9da3724a
treeb0b0b2e2204aabb0d5e0a57af5e45def79beb979
parent7554d34485b417b08875137130152d0168feefa8
Perl_try_amagic_bin(): eliminate dATARGET

.. and replace with explicit tests and assigns to targ.

This macro includes an OPf_STACKED test which has already been done
above.  Also, by protecting the OPf_STACKED test within a AMGf_assign
test, we can eliminate the AMGf_set flag in the next commit, and use the
same set of code for both AMGf_set and AMGf_assign variant calls to
Perl_try_amagic_bin().
gv.c