aaa2bad719
This code is common across backends and it should not depend on JVM-specific behavior. Introduce GeneratorExtensions to reverse the dependency here