Module cranelift_interpreter::instruction

source ·
Expand description

The InstructionContext trait describes a Cranelift instruction; a default implementation is provided with DfgInstructionContext

Structs§

Traits§

  • Exposes the necessary information for understanding a single Cranelift instruction. It would be nice if InstructionData contained everything necessary for interpreting the instruction, but Cranelift’s current design requires looking at other structures. A default implementation using a reference to a DataFlowGraph is provided in DfgInstructionContext.