Skip to main content

Module arch

Module arch 

Source
Expand description

Architecture-specific entry/exit trampolines for the JIT runtime.

The entry trampoline (revmc_entry) saves callee-saved registers, records the stack pointer into EvmContext::exit_sp, and tail-calls the JIT-compiled function.

The exit trampoline (revmc_exit) is called by builtins on error: it loads EvmContext::exit_result, restores the saved stack pointer and callee-saved registers, then returns directly to the caller of the entry trampoline โ€” bypassing all intermediate JIT and builtin frames.

Re-exportsยง

pub use x86_64::*;x86-64

Modulesยง

x86_64 ๐Ÿ”’ x86-64

Constantsยง

EXIT_RESULT_OFFSET ๐Ÿ”’
Offset of EvmContext::exit_result.
EXIT_SP_OFFSET ๐Ÿ”’
Offset of EvmContext::exit_sp.