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

Method fmt

pulley/src/interp.rs:263–270  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

261
262impl fmt::LowerHex for Val {
263 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
264 match self {
265 Val::XReg(v) => fmt::LowerHex::fmt(v, f),
266 Val::FReg(v) => fmt::LowerHex::fmt(v, f),
267 #[cfg(not(pulley_disable_interp_simd))]
268 Val::VReg(v) => fmt::LowerHex::fmt(v, f),
269 }
270 }
271}
272
273impl From<XRegVal> for Val {

Callers

nothing calls this directly

Calls 13

fmtFunction · 0.85
RegMapClass · 0.85
newFunction · 0.50
finishMethod · 0.45
fieldMethod · 0.45
get_u64Method · 0.45
get_f32Method · 0.45
get_f64Method · 0.45
to_bitsMethod · 0.45
iterMethod · 0.45
entryMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected