This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp_entersub(): simplify autoload logic
authorDavid Mitchell <davem@iabyn.com>
Sat, 11 Jul 2015 14:37:11 +0000 (15:37 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 08:59:36 +0000 (08:59 +0000)
commitb4b431d99ae3fbeb10b028cc3d4e62e10ea6a6a6
treea1579162b1306b97122ba26bb0c0b4b6b349d365
parent654c6d71951775491ab7e16e09fc394e1d32cd24
pp_entersub(): simplify autoload logic

eliminate a label and goto by by just setting cv to null on failure,
and have a single "if (!cv) croak()" test at the end of the loop.
pp_hot.c