Expand description
Helper functions and structures for the translation.
Functionsยง
- block_
with_ params - Create a
Block
with the given Wasm parameters. - f32_
translation - Turns a
wasmparser
f32
into aCranelift
one. - f64_
translation - Turns a
wasmparser
f64
into aCranelift
one. - get_
vmctx_ value_ label - Special VMContext value label. It is tracked as 0xffff_fffe label.
- irlibcall_
to_ libcall - Transform Cranelift LibCall into runtime LibCall
- irreloc_
to_ relocationkind - Transform Cranelift Reloc to compiler Relocation
- reference_
type - Helper function translating wasmparser types to Cranelift types when possible.
- signature_
to_ cranelift_ ir - Helper function translate a Function signature into Cranelift Ir
- type_
to_ irtype - Helper function translating wasmparser types to Cranelift types when possible.