Skip to main content

prune_maybe_throws

Function prune_maybe_throws 

Source
pub fn prune_maybe_throws(
    func: &mut HirFunction,
    functions: &mut [HirFunction],
) -> Result<(), CompilerDiagnostic>
Expand description

Prune MaybeThrow terminals for blocks that cannot throw, then clean up the CFG.