diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-01-31 20:51:29 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-02-12 17:52:05 +0000 |
| commit | 6b73fe2d0977f9b1a98242b8ecf359c7804640e4 (patch) | |
| tree | 568e089ab80fc3415029c5cb7435bcdb3154af86 /compiler/rustc_codegen_ssa | |
| parent | 9a0743747f3b587ff0b4ba06bf51d3a079f37e50 (diff) | |
| download | rust-6b73fe2d0977f9b1a98242b8ecf359c7804640e4.tar.gz rust-6b73fe2d0977f9b1a98242b8ecf359c7804640e4.zip | |
Give const_deallocate a default body
Diffstat (limited to 'compiler/rustc_codegen_ssa')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/mir/intrinsic.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_ssa/src/mir/intrinsic.rs b/compiler/rustc_codegen_ssa/src/mir/intrinsic.rs index d6a0dc6bbef..e4633acd817 100644 --- a/compiler/rustc_codegen_ssa/src/mir/intrinsic.rs +++ b/compiler/rustc_codegen_ssa/src/mir/intrinsic.rs @@ -281,11 +281,6 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> { } } - sym::const_deallocate => { - // nop at runtime. - return Ok(()); - } - // This requires that atomic intrinsics follow a specific naming pattern: // "atomic_<operation>[_<ordering>]" name if let Some(atomic) = name_str.strip_prefix("atomic_") => { |
