Skip to main content

ub_check_result_operand

Function ub_check_result_operand 

Source
fn ub_check_result_operand(
    tcx: TyCtxt<'_>,
    body: &Body<'_>,
    discr: &Operand<'_>,
) -> bool
Expand description

A debug UB check may branch before the ZST switch without changing the result.