wasmer_compiler_cranelift::translator::func_translator

Function declare_wasm_parameters

Source
fn declare_wasm_parameters<FE: FuncEnvironment + ?Sized>(
    builder: &mut FunctionBuilder<'_>,
    entry_block: Block,
    environ: &FE,
) -> usize
Expand description

Declare local variables for the signature parameters that correspond to WebAssembly locals.

Return the number of local variables declared.