tree: a540322e247f25d213ba2b419a4f4e2f8968264a [path history] [tgz]
  1. src/
  2. build.gradle.kts
  3. ReadMe.md
compiler/ir/ir.interpreter/ReadMe.md

This module enables interpretation of IR, which is used for evaluating const variables and functions marked with @IntrinsicConstEvaluation at compile time, as an optimization.

Note:

There is also a separate code interpretation mechanism over FIR. It is used for activities that cannot be done at IR level, such as reporting diagnostics (e.g. n / (1 - 1) reports Division by zero warning).