Move inline functions out of VM.execute. (Speculative)

This is still speculative -- I haven't yet measured if this actually improves performance. But given that we call VM.execute many times, the JS engine might do a better job optimizing if it doesn't think it needs to redefine those functions every time. At least, if I was a JS engine, that's what I'd want!