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

Method len

cranelift/codegen/src/machinst/vcode.rs:1884–1886  ·  view source on GitHub ↗

Return the number of constants inserted.

(&self)

Source from the content-addressed store, hash-verified

1882
1883 /// Return the number of constants inserted.
1884 pub fn len(&self) -> usize {
1885 self.constants.len()
1886 }
1887
1888 /// Iterate over the `VCodeConstant` keys inserted in this structure.
1889 pub fn keys(&self) -> Keys<VCodeConstant> {

Callers 15

cur_offsetMethod · 0.45
get_appended_spaceMethod · 0.45
get_labelMethod · 0.45
register_constantMethod · 0.45
finish_constantsMethod · 0.45
add_uncond_branchMethod · 0.45
add_cond_branchMethod · 0.45
optimize_branchesMethod · 0.45
add_relocMethod · 0.45
add_trapMethod · 0.45
add_try_call_siteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected