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

Method xjump

pulley/src/interp.rs:1432–1437  ·  view source on GitHub ↗
(&mut self, reg: XReg)

Source from the content-addressed store, hash-verified

1430 }
1431
1432 fn xjump(&mut self, reg: XReg) -> ControlFlow<Done> {
1433 unsafe {
1434 self.pc = UnsafeBytecodeStream::new(NonNull::new_unchecked(self.state[reg].get_ptr()));
1435 }
1436 ControlFlow::Continue(())
1437 }
1438
1439 fn br_if32(&mut self, cond: XReg, offset: PcRelOffset) -> ControlFlow<Done> {
1440 let cond = self.state[cond].get_u32();

Callers

nothing calls this directly

Calls 2

get_ptrMethod · 0.80
newFunction · 0.50

Tested by

no test coverage detected