Skip to content

Commit 566c1b1

Browse files
committed
Merge from rustc
2 parents 7d3183a + 5d5e9b5 commit 566c1b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/machine.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -821,8 +821,8 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for MiriMachine<'mir, 'tcx> {
821821
}
822822

823823
#[inline(always)]
824-
fn checked_binop_checks_overflow(ecx: &MiriInterpCx<'mir, 'tcx>) -> bool {
825-
ecx.tcx.sess.overflow_checks()
824+
fn ignore_checkable_overflow_assertions(ecx: &MiriInterpCx<'mir, 'tcx>) -> bool {
825+
!ecx.tcx.sess.overflow_checks()
826826
}
827827

828828
#[inline(always)]

0 commit comments

Comments
 (0)