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

Function cvt

crates/cranelift/src/compiled_function.rs:287–293  ·  view source on GitHub ↗
(loc: ir::SourceLoc)

Source from the content-addressed store, hash-verified

285 return ret;
286
287 fn cvt(loc: ir::SourceLoc) -> FilePos {
288 if loc.is_default() {
289 FilePos::default()
290 } else {
291 FilePos::new(loc.bits())
292 }
293 }
294}

Callers 1

collect_address_mapsFunction · 0.70

Calls 3

newFunction · 0.50
is_defaultMethod · 0.45
bitsMethod · 0.45

Tested by

no test coverage detected