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

Function write_arg

cranelift/codegen/src/write.rs:210–213  ·  view source on GitHub ↗
(w: &mut dyn Write, func: &Function, arg: Value)

Source from the content-addressed store, hash-verified

208// Basic blocks
209
210fn write_arg(w: &mut dyn Write, func: &Function, arg: Value) -> fmt::Result {
211 let ty = func.dfg.value_type(arg);
212 write!(w, "{arg}: {ty}")
213}
214
215/// Write out the basic block header, outdented:
216///

Callers 1

write_block_headerFunction · 0.85

Calls 1

value_typeMethod · 0.45

Tested by

no test coverage detected