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

Method free_reg

winch/codegen/src/codegen/context.rs:221–224  ·  view source on GitHub ↗

Free the given register.

(&mut self, reg: impl Into<Reg>)

Source from the content-addressed store, hash-verified

219
220 /// Free the given register.
221 pub fn free_reg(&mut self, reg: impl Into<Reg>) {
222 let reg: Reg = reg.into();
223 self.regalloc.free(reg);
224 }
225
226 /// Loads the stack top value into the next available register, if
227 /// it isn't already one; spilling if there are no registers

Callers 15

visit_local_setMethod · 0.80
visit_br_ifMethod · 0.80
visit_br_tableMethod · 0.80
visit_global_getMethod · 0.80
visit_global_setMethod · 0.80
visit_selectMethod · 0.80
visit_i8x16_shuffleMethod · 0.80
visit_i8x16_swizzleMethod · 0.80
visit_v128_bitselectMethod · 0.80
visit_v128_any_trueMethod · 0.80
shiftMethod · 0.80
divMethod · 0.80

Calls 1

freeMethod · 0.45

Tested by

no test coverage detected