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

Method iter

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

Iterate over the `VCodeConstant` keys and the data (as a byte slice) inserted in this structure.

(&self)

Source from the content-addressed store, hash-verified

1893 /// Iterate over the `VCodeConstant` keys and the data (as a byte slice) inserted in this
1894 /// structure.
1895 pub fn iter(&self) -> impl Iterator<Item = (VCodeConstant, &VCodeConstantData)> {
1896 self.constants.iter()
1897 }
1898
1899 /// Returns the data associated with the specified constant.
1900 pub fn get(&self, c: VCodeConstant) -> &VCodeConstantData {

Callers 15

register_constantsMethod · 0.45
finishMethod · 0.45
push_debug_tagsMethod · 0.45
debug_tagsMethod · 0.45
call_sitesMethod · 0.45
patchable_call_sitesMethod · 0.45
disassembleMethod · 0.45
get_code_bb_layoutMethod · 0.45
newMethod · 0.45
gen_copy_arg_to_regsMethod · 0.45
gen_call_argsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected