Simplify JVM for loop code-gen.