Move inline functions out of interpret().

The diff looks worse than it is.