Crate cranelift_interpreter
source · [−]Expand description
Cranelift IR interpreter.
This module is a project for interpreting Cranelift IR.
Modules
Virtual Addressing Scheme for the Interpreter
Implements the function environment (e.g. a name-to-function mapping) for interpretation.
Implements a call frame (activation record) for the Cranelift interpreter.
The InstructionContext trait describes a Cranelift instruction; a default implementation is provided with DfgInstructionContext
Cranelift IR interpreter.
Cranelift instructions modify the state of the machine; the State trait describes these ways this can happen.
The step function interprets a single Cranelift instruction given its State and InstructionContext; the interpretation is generic over Values.