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

Method regs

cranelift/codegen/src/machinst/valueregs.rs:102–104  ·  view source on GitHub ↗

Return a slice of the registers storing this value.

(&self)

Source from the content-addressed store, hash-verified

100
101 /// Return a slice of the registers storing this value.
102 pub fn regs(&self) -> &[R] {
103 &self.parts[0..self.len()]
104 }
105
106 /// Return a mutable slice of the registers storing this value.
107 pub fn regs_mut(&mut self) -> &mut [R] {

Callers 8

gen_copy_arg_to_regsMethod · 0.45
gen_call_argsMethod · 0.45
gen_call_retsMethod · 0.45
lower_clif_blockMethod · 0.45
add_block_paramsMethod · 0.45
collect_block_callMethod · 0.45
allocMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected