Module cranelift_interpreter::interpreter

source ·
Expand description

Cranelift IR interpreter.

This module partially contains the logic for interpreting Cranelift IR.

Structs§

  • The Cranelift interpreter; this contains some high-level functions to control the interpreter’s flow. The interpreter state is defined separately (see InterpreterState) as the execution semantics for each Cranelift instruction (see step).
  • Maintains the Interpreter’s state, implementing the State trait.

Enums§

  • The result of consuming fuel. Signals if the caller should stop or continue.
  • The ways interpretation can fail.

Type Aliases§