This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp_hot.c: skip unnecessary test
authorDavid Mitchell <davem@iabyn.com>
Sat, 11 Jul 2015 15:43:25 +0000 (16:43 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 08:59:36 +0000 (08:59 +0000)
commitf29834c676387b28afd9f5c538f0a5e2c97abd36
tree9721f2db0af2aea048d3b87392ac24b1c1b199d8
parentb4b431d99ae3fbeb10b028cc3d4e62e10ea6a6a6
pp_hot.c: skip unnecessary test

This condition:

    !CvROOT(cv) && !CvXSUB(cv)

can be simplified because those two cv fields are actually
the same slot in a union.
pp_hot.c