rust/compiler/rustc_codegen_ssa/src/mir
Matthias Krüger 9e86a434a7
Rollup merge of #92274 - woppopo:const_deallocate, r=oli-obk
Add `intrinsics::const_deallocate`

Tracking issue: #79597
Related: #91884

This allows deallocation of a memory allocated by `intrinsics::const_allocate`. At the moment, this can be only used to reduce memory usage, but in the future this may be useful to detect memory leaks (If an allocated memory remains after evaluation, raise an error...?).
2022-01-29 14:46:30 +01:00
..
analyze.rs Remove deprecated LLVM-style inline assembly 2022-01-12 18:51:31 +01:00
block.rs Merge landing_pad and set_cleanup into cleanup_landing_pad 2022-01-24 14:10:05 +01:00
constant.rs Make abi::Abi Copy and remove a *lot* of refs 2021-09-09 10:41:19 +02:00
coverageinfo.rs coverageinfo query needs to use the same MIR as codegen 2021-05-12 20:27:07 -07:00
debuginfo.rs Fix debuginfo for ScalarPair abi parameters 2021-09-13 10:51:47 -04:00
intrinsic.rs const_deallocate: Don't deallocate memory allocated in an another const. Does nothing at runtime. 2022-01-26 13:06:09 +09:00
mod.rs initial revert 2022-01-15 01:16:55 +00:00
operand.rs Remove in_band_lifetimes from rustc_codegen_ssa 2021-12-15 00:41:41 -05:00
place.rs Use iterator instead of recursion in codegen_place 2021-11-27 09:57:09 +08:00
rvalue.rs Add simd_as intrinsic 2022-01-04 01:45:41 +00:00
statement.rs Remove deprecated LLVM-style inline assembly 2022-01-12 18:51:31 +01:00