Module wasmer_compiler_cranelift::translator
source ยท Expand description
Tools for translating wasm function bytecode to Cranelift IR.
Re-exportsยง
pub use self::func_environ::FuncEnvironment;
pub use self::func_environ::GlobalVariable;
pub use self::func_environ::TargetEnvironment;
pub use self::func_translator::FuncTranslator;
pub use self::translation_utils::irlibcall_to_libcall;
pub use self::translation_utils::irreloc_to_relocationkind;
pub use self::translation_utils::signature_to_cranelift_ir;
Modulesยง
- code_translator ๐This module contains the bulk of the interesting code performing the translation between WebAssembly bytecode and Cranelift IR.
- func_environ ๐All the runtime support necessary for the wasm to cranelift translation is formalized by the traits
FunctionEnvMutironment
. - func_state ๐WebAssembly module and function translation state.
- func_translator ๐Standalone WebAssembly to Cranelift IR translator.
- translation_utils ๐Helper functions and structures for the translation.
- unwind ๐A
Compilation
contains the compiled function bodies for a WebAssembly module.