https://kotlinlang.org logo
#compiler
Title
# compiler
r

raulraja

06/12/2019, 12:05 PM
I have a compiler plugin where I’m subscribing to the
org.jetbrains.kotlin.backend.common.extensions.IrGenerationExtension
. It does not seem like it’s calling me back so I’m guessing is not using the IR format. Is there a compiler flag or some kind of way to turn IR generation on?. Thanks!
Found it with
CompilerConfigurationExtensions
one can:
Copy code
configuration.put(<http://JVMConfigurationKeys.IR|JVMConfigurationKeys.IR>, true)
2 Views