tweak pp_entersub
authorDavid Mitchell <davem@iabyn.com>
Wed, 26 Feb 2014 17:38:33 +0000 (17:38 +0000)
committerDavid Mitchell <davem@iabyn.com>
Thu, 27 Feb 2014 16:16:17 +0000 (16:16 +0000)
commitf5719c02ff859eac250806a5d4a34c541cc6465a
tree1034c2e6d1fc2b90d7ff6cc6d1007b2695fd4d18
parent72b09e4f13cced68883e83d20365f3a68de1740c
tweak pp_entersub

liberally sprinkle some LIKELY()s, initialise gimme closer to where
it's first needed, and shortcut the common case of a GV with valid CV,
skipping the switch statement.

With gcc and x86_64, this reduces the code size of the function by
about 5%.
pp_hot.c