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

Method xconst8

pulley/src/interp.rs:1671–1674  ·  view source on GitHub ↗
(&mut self, dst: XReg, imm: i8)

Source from the content-addressed store, hash-verified

1669 }
1670
1671 fn xconst8(&mut self, dst: XReg, imm: i8) -> ControlFlow<Done> {
1672 self.state[dst].set_i64(i64::from(imm));
1673 ControlFlow::Continue(())
1674 }
1675
1676 fn xzero(&mut self, dst: XReg) -> ControlFlow<Done> {
1677 self.state[dst].set_i64(0);

Callers

nothing calls this directly

Calls 2

fromFunction · 0.85
set_i64Method · 0.80

Tested by

no test coverage detected