On Apr 17, 2007, at 4:20 PM, Eric Christopher wrote:
increase code size? I feel I must be missing something really obvious... is it just that the other optimisations that become possible on inline codeusually compensate?That or the savings from not having to save/restore registers, set up the frame, etc as well.
Don't forget the call and its setup. Trivially, inlining an empty function is always a size win.
There actually were a couple in Spec95.