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

Method xconst16

pulley/src/interp.rs:1686–1689  ·  view source on GitHub ↗
(&mut self, dst: XReg, imm: i16)

Source from the content-addressed store, hash-verified

1684 }
1685
1686 fn xconst16(&mut self, dst: XReg, imm: i16) -> ControlFlow<Done> {
1687 self.state[dst].set_i64(i64::from(imm));
1688 ControlFlow::Continue(())
1689 }
1690
1691 fn xconst32(&mut self, dst: XReg, imm: i32) -> ControlFlow<Done> {
1692 self.state[dst].set_i64(i64::from(imm));

Callers

nothing calls this directly

Calls 2

fromFunction · 0.85
set_i64Method · 0.80

Tested by

no test coverage detected