This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
remove a redundant SvTIED_mg from S_do_smartmatch
authorDaniel Dragan <bulk88@hotmail.com>
Mon, 10 Mar 2014 14:03:09 +0000 (14:03 +0000)
committerDavid Mitchell <davem@iabyn.com>
Mon, 10 Mar 2014 14:03:09 +0000 (14:03 +0000)
commit6bb3f245a58d9f11ee03a80a12e3a6a7799b2403
treed6741d894a22dc4233a0e1ec46c4c11d10e938ff
parent5d27ee4af18b0f3857a1f951f91473c86da29b62
remove a redundant SvTIED_mg from S_do_smartmatch

A non tied HV potentially could be checked twice for being tied. Move
HvUSEDKEYS part to avoid checking var tied twice. The redundant tied check
comes from day 1 of smart match in commit 0d863452f5 . IDK why HV sides
are swapped, but comment it.
pp_ctl.c