Two small JIT optimizations