Module interpreter

Source
Expand description

Interpreter for pure and metered VM execution

Structs§

AlignedBuf
Bytes allocated according to the given Layout. Careful: this struct implements Send and Sync unsafely. Don’t change the underlying data after initialization.git
InterpretedInstance
VM pure executor(E1/E2 executor) which doesn’t consider trace generation. Note: This executor doesn’t hold any VM state and can be used for multiple execution.
PreComputeInstruction

Functions§

alloc_pre_compute_buf
get_metered_pre_compute_instructions
get_metered_pre_compute_max_size
get_pc_index
get_pre_compute_instructions
get_pre_compute_max_size
split_pre_compute_buf