Method
br_if32
(&mut self, cond: XReg, offset: PcRelOffset)
Source from the content-addressed store, hash-verified
| 1437 | } |
| 1438 | |
| 1439 | fn br_if32(&mut self, cond: XReg, offset: PcRelOffset) -> ControlFlow<Done> { |
| 1440 | let cond = self.state[cond].get_u32(); |
| 1441 | if cond != 0 { |
| 1442 | self.pc_rel_jump::<crate::BrIf>(offset) |
| 1443 | } else { |
| 1444 | ControlFlow::Continue(()) |
| 1445 | } |
| 1446 | } |
| 1447 | |
| 1448 | fn br_if_not32(&mut self, cond: XReg, offset: PcRelOffset) -> ControlFlow<Done> { |
| 1449 | let cond = self.state[cond].get_u32(); |
Callers
nothing calls this directly
Tested by
no test coverage detected