Function wasmer_compiler_cranelift::translator::func_translator::declare_locals
source ยท fn declare_locals<FE: FuncEnvironment + ?Sized>(
builder: &mut FunctionBuilder<'_>,
count: u32,
wasm_type: ValType,
next_local: &mut usize,
environ: &mut FE,
) -> WasmResult<()>
Expand description
Declare count
local variables of the same type, starting from next_local
.
Fail if the type is not valid for a local.