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

Method write_instruction

cranelift/codegen/src/write.rs:134–143  ·  view source on GitHub ↗
(
        &mut self,
        w: &mut dyn Write,
        func: &Function,
        aliases: &SecondaryMap<Value, Vec<Value>>,
        inst: Inst,
        indent: usize,
    )

Source from the content-addressed store, hash-verified

132
133impl FuncWriter for PlainWriter {
134 fn write_instruction(
135 &mut self,
136 w: &mut dyn Write,
137 func: &Function,
138 aliases: &SecondaryMap<Value, Vec<Value>>,
139 inst: Inst,
140 indent: usize,
141 ) -> fmt::Result {
142 write_instruction(w, func, aliases, inst, indent)
143 }
144
145 fn write_block_header(
146 &mut self,

Callers 2

decorate_blockFunction · 0.45
block_nodesMethod · 0.45

Calls 1

write_instructionFunction · 0.85

Tested by

no test coverage detected