compiler/vm/vmserialize

  Source   Edit

Implements routines for initializing VM memory locations directly from expressions.

Procs

proc initFromExpr(dest: LocHandle; tree: MirTree; env: MirEnv; c: var TCtx) {.
    inline, ...raises: [Exception, KeyError, ERecoverableError], tags: [RootEffect].}
Intializes the memory location dest with the value represented by the MIR contant expression tree. The location is expected to be in its zero'ed state.   Source   Edit