Skip to main content

Crate revmc_context

Crate revmc_context 

Source
Expand description

§revmc-context

EVM bytecode compiler runtime context.

Modules§

arch 🔒
Architecture-specific entry/exit trampolines for the JIT runtime.
jit_evm 🔒 evm
Generic revm JIT EVM.

Macros§

extern_revmc
Declare RawEvmCompilerFn functions in an extern "C" block.

Structs§

EvmCompilerFn
An EVM bytecode function.
EvmContext
The EVM bytecode compiler runtime context.
EvmStack
EVM context stack.
EvmWord
An EVM stack word, which is stored in native-endian order.
JitEvmevm
Wrapper around any [EvmTr] that overrides [EvmTr::frame_run] to dispatch to JIT-compiled functions by code hash, falling back to the interpreter.

Functions§

revmc_exit
Exit trampoline: loads ecx.exit_result, restores the saved RSP, pops callee-saved registers and returns to the caller of revmc_entry.

Type Aliases§

RawEvmCompilerFn
The raw function signature of a bytecode function.