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

Method num_values

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

Get the total number of values.

(&self)

Source from the content-addressed store, hash-verified

250
251 /// Get the total number of values.
252 pub fn num_values(&self) -> usize {
253 self.values.len()
254 }
255
256 /// Get an iterator over all values and their definitions.
257 pub fn values_and_defs(&self) -> impl Iterator<Item = (Value, ValueDef)> + '_ {

Callers 6

newMethod · 0.80
parse_basic_blockMethod · 0.80
parse_block_paramMethod · 0.80
newMethod · 0.80
newMethod · 0.80

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected