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

Method reg

winch/codegen/src/stack.rs:159–161  ·  view source on GitHub ↗

Create a new Reg value.

(reg: Reg, ty: WasmValType)

Source from the content-addressed store, hash-verified

157
158 /// Create a new Reg value.
159 pub fn reg(reg: Reg, ty: WasmValType) -> Self {
160 Self::Reg(TypedReg { reg, ty })
161 }
162
163 /// Create a new Local value.
164 pub fn local(index: u32, ty: WasmValType) -> Self {

Callers

nothing calls this directly

Calls 1

RegClass · 0.50

Tested by

no test coverage detected