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

Method xstore16be_z

pulley/src/interp.rs:5658–5664  ·  view source on GitHub ↗
(&mut self, addr: AddrZ, val: XReg)

Source from the content-addressed store, hash-verified

5656 }
5657
5658 fn xstore16be_z(&mut self, addr: AddrZ, val: XReg) -> ControlFlow<Done> {
5659 let val = self.state[val].get_u32() as u16;
5660 unsafe {
5661 self.store_ne::<u16, crate::XStore16BeZ>(addr, val.to_be())?;
5662 }
5663 ControlFlow::Continue(())
5664 }
5665
5666 fn xstore32be_z(&mut self, addr: AddrZ, val: XReg) -> ControlFlow<Done> {
5667 let val = self.state[val].get_u32();

Callers

nothing calls this directly

Calls 2

to_beMethod · 0.80
get_u32Method · 0.45

Tested by

no test coverage detected