Function cranelift_wasm::blocktype_params_results
source · pub fn blocktype_params_results<'a, T>(
validator: &'a FuncValidator<T>,
ty: BlockType
) -> WasmResult<(impl ExactSizeIterator<Item = Type> + Clone + 'a, impl ExactSizeIterator<Item = Type> + Clone + 'a)>where
T: WasmModuleResources,
Expand description
Get the parameter and result types for the given Wasm blocktype.