Check that the given block can be encoded as a BB, by checking that only branching instructions are ending the block.
(&self, block: Block, errors: &mut VerifierErrors)
| 438 | /// Check that the given block can be encoded as a BB, by checking that only |
| 439 | /// branching instructions are ending the block. |
| 440 | fn encodable_as_bb(&self, block: Block, errors: &mut VerifierErrors) -> VerifierStepResult { |
| 441 | match self.func.is_block_basic(block) { |
| 442 | Ok(()) => Ok(()), |
| 443 | Err((inst, message)) => errors.fatal((inst, self.context(inst), message)), |
| 444 | } |
| 445 | } |
| 446 | |
| 447 | fn block_integrity( |
| 448 | &self, |
no test coverage detected