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

Method disas_op

pulley/src/disas.rs:91–100  ·  view source on GitHub ↗
(&mut self, mnemonic: &str, operands: &[&dyn Disas])

Source from the content-addressed store, hash-verified

89 }
90
91 fn disas_op(&mut self, mnemonic: &str, operands: &[&dyn Disas]) {
92 write!(&mut self.temp, "{mnemonic}").unwrap();
93 for (i, val) in operands.iter().enumerate() {
94 if i > 0 {
95 write!(&mut self.temp, ",").unwrap();
96 }
97 write!(&mut self.temp, " ").unwrap();
98 val.disas(self.start + self.start_offset, &mut self.temp);
99 }
100 }
101
102 fn disas_br_table32(&mut self, reg: XReg, amt: u32) {
103 self.disas_op("br_table32", &[&reg, &amt]);

Callers 1

disas_br_table32Method · 0.80

Calls 3

disasMethod · 0.80
unwrapMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected