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

Method xconst32

pulley/src/interp.rs:1691–1694  ·  view source on GitHub ↗
(&mut self, dst: XReg, imm: i32)

Source from the content-addressed store, hash-verified

1689 }
1690
1691 fn xconst32(&mut self, dst: XReg, imm: i32) -> ControlFlow<Done> {
1692 self.state[dst].set_i64(i64::from(imm));
1693 ControlFlow::Continue(())
1694 }
1695
1696 fn xconst64(&mut self, dst: XReg, imm: i64) -> ControlFlow<Done> {
1697 self.state[dst].set_i64(imm);

Callers

nothing calls this directly

Calls 2

fromFunction · 0.85
set_i64Method · 0.80

Tested by

no test coverage detected