cranelift_wasm

Function blocktype_params_results

Source
pub fn blocktype_params_results<'a, T>(
    validator: &'a FuncValidator<T>,
    ty: BlockType,
) -> WasmResult<(impl ExactSizeIterator<Item = ValType> + Clone + 'a, impl ExactSizeIterator<Item = ValType> + Clone + 'a)>
Expand description

Get the parameter and result types for the given Wasm blocktype.