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

Method header

cranelift/codegen/src/cfg_printer.rs:35–41  ·  view source on GitHub ↗
(&self, w: &mut dyn Write)

Source from the content-addressed store, hash-verified

33 }
34
35 fn header(&self, w: &mut dyn Write) -> Result {
36 writeln!(w, "digraph \"{}\" {{", self.func.name)?;
37 if let Some(entry) = self.func.layout.entry_block() {
38 writeln!(w, " {{rank=min; {entry}}}")?;
39 }
40 Ok(())
41 }
42
43 fn block_nodes(&self, w: &mut dyn Write) -> Result {
44 let mut aliases = SecondaryMap::<_, Vec<_>>::new();

Callers 1

writeMethod · 0.45

Calls 2

OkFunction · 0.85
entry_blockMethod · 0.45

Tested by

no test coverage detected