Some work on generateEnterJIT().