diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-02-11 16:42:19 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-02-18 21:35:02 +0000 |
| commit | 4c93145b3304f7d1f4ec7ac284595f3505f4de72 (patch) | |
| tree | 6d6c4394bd794495c95e57decfbdffbafcbe62a6 /compiler/rustc_codegen_ssa | |
| parent | 7567f1f31d5e968380b1e1c5088b00a0606ea1a0 (diff) | |
| download | rust-4c93145b3304f7d1f4ec7ac284595f3505f4de72.tar.gz rust-4c93145b3304f7d1f4ec7ac284595f3505f4de72.zip | |
Remove outdated comment.
Diffstat (limited to 'compiler/rustc_codegen_ssa')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/mir/block.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_codegen_ssa/src/mir/block.rs b/compiler/rustc_codegen_ssa/src/mir/block.rs index 35f12ac9dbd..7babb357c7c 100644 --- a/compiler/rustc_codegen_ssa/src/mir/block.rs +++ b/compiler/rustc_codegen_ssa/src/mir/block.rs @@ -565,9 +565,6 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> { // with #[rustc_inherit_overflow_checks] and inlined from // another crate (mostly core::num generic/#[inline] fns), // while the current crate doesn't use overflow checks. - // NOTE: Unlike binops, negation doesn't have its own - // checked operation, just a comparison with the minimum - // value, so we have to check for the assert message. if !bx.cx().check_overflow() { let unchecked_overflow = match msg { AssertKind::OverflowNeg(..) => true, |
