[][src]Function wasmer_clif_fork_wasm::declare_locals

pub fn declare_locals<FE: FuncEnvironment + ?Sized>(
    builder: &mut FunctionBuilder,
    count: u32,
    wasm_type: Type,
    next_local: &mut usize,
    environ: &mut FE
) -> WasmResult<()>

Declare count local variables of the same type, starting from next_local.

Fail of too many locals are declared in the function, or if the type is not valid for a local.