compiler/mir/rtchecks

  Source   Edit

Implements the MIR passes for lowering the various run-time check magic calls into comparisons + calls to runtime procedures. The lowerings are only applicable for backends using the runtime for C-like targets.

Procs

proc lowerChecks(body; graph; env; changes: var Changeset) {.
    ...raises: [KeyError, Exception, ERecoverableError],
    tags: [ReadDirEffect, RootEffect].}
Lowers all magic calls implementing the run-time checks.   Source   Edit