Rename checked_binop_checks_overflow.
This commit is contained in:
parent
a5769193d1
commit
c1a0f8205c
3 changed files with 8 additions and 7 deletions
|
@ -137,7 +137,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
|||
}
|
||||
|
||||
Assert { ref cond, expected, ref msg, target, cleanup } => {
|
||||
let ignored = !M::checked_binop_checks_overflow(self)
|
||||
let ignored = M::ignore_checkable_overflow_assertions(self)
|
||||
&& match msg {
|
||||
mir::AssertKind::OverflowNeg(..) => true,
|
||||
mir::AssertKind::Overflow(op, ..) => op.is_checkable(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue