Add support for fastinvoke.

There are several weaknesses with the current approach,
and I'll get to them in due course. Note that this is only
visible if you disable inlining first.