Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ from
Method
from
cranelift/codegen/src/machinst/reg.rs:272–274 ·
view source on GitHub ↗
(vreg: regalloc2::VReg)
Source
from the content-addressed store, hash-verified
270
271
impl core::convert::From<regalloc2::VReg> for Reg {
272
fn from(vreg: regalloc2::VReg) -> Reg {
273
Reg(vreg.bits() as u32)
274
}
275
}
276
277
impl core::convert::From<regalloc2::VReg> for VirtualReg {
Callers
nothing calls this directly
Calls
8
VirtualReg
Class · 0.85
RealReg
Class · 0.85
from
Function · 0.85
Reg
Class · 0.70
new
Function · 0.50
bits
Method · 0.45
index
Method · 0.45
class
Method · 0.45
Tested by
no test coverage detected