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

Method br_if_not32

pulley/src/interp.rs:1448–1455  ·  view source on GitHub ↗
(&mut self, cond: XReg, offset: PcRelOffset)

Source from the content-addressed store, hash-verified

1446 }
1447
1448 fn br_if_not32(&mut self, cond: XReg, offset: PcRelOffset) -> ControlFlow<Done> {
1449 let cond = self.state[cond].get_u32();
1450 if cond == 0 {
1451 self.pc_rel_jump::<crate::BrIfNot>(offset)
1452 } else {
1453 ControlFlow::Continue(())
1454 }
1455 }
1456
1457 fn br_if_xeq32(&mut self, a: XReg, b: XReg, offset: PcRelOffset) -> ControlFlow<Done> {
1458 let a = self.state[a].get_u32();

Callers

nothing calls this directly

Calls 1

get_u32Method · 0.45

Tested by

no test coverage detected