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

Method xpcadd

pulley/src/interp.rs:2837–2841  ·  view source on GitHub ↗
(&mut self, dst: XReg, offset: PcRelOffset)

Source from the content-addressed store, hash-verified

2835 }
2836
2837 fn xpcadd(&mut self, dst: XReg, offset: PcRelOffset) -> ControlFlow<Done> {
2838 let pc = self.pc_rel::<crate::Xpcadd>(offset);
2839 self.state[dst].set_ptr(pc.as_ptr());
2840 ControlFlow::Continue(())
2841 }
2842
2843 fn bswap32(&mut self, dst: XReg, src: XReg) -> ControlFlow<Done> {
2844 let src = self.state[src].get_u32();

Callers

nothing calls this directly

Calls 2

set_ptrMethod · 0.80
as_ptrMethod · 0.45

Tested by

no test coverage detected