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

Method to_reg

cranelift/codegen/src/machinst/reg.rs:238–240  ·  view source on GitHub ↗

Get the underlying register, which can be read.

(self)

Source from the content-addressed store, hash-verified

236
237 /// Get the underlying register, which can be read.
238 pub fn to_reg(self) -> T {
239 self.reg
240 }
241
242 /// Get a mutable borrow of the underlying register.
243 pub fn reg_mut(&mut self) -> &mut T {

Callers 15

insert_stack_checkMethod · 0.80
generate_gvFunction · 0.80
gen_copy_arg_to_regsMethod · 0.80
gen_call_retsMethod · 0.80
gen_reloadMethod · 0.80
emit_retval_loadsMethod · 0.80
non_writable_value_regsFunction · 0.80
gen_try_call_retsMethod · 0.80
collect_block_callMethod · 0.80
gen_add_immMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected