compiler-plugin / arrow.meta.dsl.config / ConfigSyntax / enableIr


open fun enableIr(): ExtensionPhase

The enableIr function enables the Intermediate Representation Backend. The IR Backend is a part of the code generation phase and emits code in the IR format. The IR Format is a tree structure with significant indentation that contains all the information needed to generate bytecode for all platforms the Kotlin programming language targets. When the IR backend is disabled, which is the current default in the Kotlin Compiler, the JVM ASM Backend is used instead.

IR Example

Do you like Arrow?

Arrow Org