MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / block_params

Method block_params

cranelift/codegen/src/ir/dfg.rs:1251–1253  ·  view source on GitHub ↗

Get the parameters on `block`.

(&self, block: Block)

Source from the content-addressed store, hash-verified

1249
1250 /// Get the parameters on `block`.
1251 pub fn block_params(&self, block: Block) -> &[Value] {
1252 self.blocks[block].params(&self.value_lists)
1253 }
1254
1255 /// Get the types of the parameters on `block`.
1256 pub fn block_param_types(&self, block: Block) -> impl Iterator<Item = Type> + '_ {

Callers 15

callMethod · 0.45
blockMethod · 0.45
resolve_global_valueMethod · 0.45
block_headerFunction · 0.45
mutateMethod · 0.45
mainFunction · 0.45
do_remove_constant_phisFunction · 0.45
replace_call_with_jumpFunction · 0.45
write_block_headerFunction · 0.45
decorate_blockFunction · 0.45
value_is_attachedMethod · 0.45
block_param_typesMethod · 0.45

Calls 1

paramsMethod · 0.45

Tested by 1

block_headerFunction · 0.36