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

Method len

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

Get the total number of basic blocks created in this function, whether they are currently inserted in the layout or not. This is intended for use with `SecondaryMap::with_capacity`.

(&self)

Source from the content-addressed store, hash-verified

60 ///
61 /// This is intended for use with `SecondaryMap::with_capacity`.
62 pub fn len(&self) -> usize {
63 self.0.len()
64 }
65
66 /// Reserves capacity for at least `additional` more elements to be
67 /// inserted.

Callers 15

from_strMethod · 0.45
newMethod · 0.45
num_instsMethod · 0.45
num_blocksMethod · 0.45
num_valuesMethod · 0.45
maybe_resolve_aliasesFunction · 0.45
len_valuesMethod · 0.45
size_hintMethod · 0.45
num_block_paramsMethod · 0.45
newMethod · 0.45

Calls

no outgoing calls

Tested by 1