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

Method num_block_params

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

Get the number of parameters on `block`.

(&self, block: Block)

Source from the content-addressed store, hash-verified

1244
1245 /// Get the number of parameters on `block`.
1246 pub fn num_block_params(&self, block: Block) -> usize {
1247 self.blocks[block].params(&self.value_lists).len()
1248 }
1249
1250 /// Get the parameters on `block`.
1251 pub fn block_params(&self, block: Block) -> &[Value] {

Callers 4

newMethod · 0.80
mutateMethod · 0.80
remove_block_paramMethod · 0.80

Calls 2

lenMethod · 0.45
paramsMethod · 0.45

Tested by

no test coverage detected