tree: ed57311d42e5f0aa61adc0c87b25d2671a45107f [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).