diff options
| author | Ralf Jung <post@ralfj.de> | 2024-04-16 16:37:34 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-04-16 16:37:34 +0200 |
| commit | 18bfca50f1a6d9ccf322fa4dafec3a67a39ef300 (patch) | |
| tree | 834593c2a0445f56193730f0ad9100198c81993a /compiler/rustc_const_eval/src/interpret/memory.rs | |
| parent | 63f70b3d104e20289a1a0df82747066c3d85b9a1 (diff) | |
| download | rust-18bfca50f1a6d9ccf322fa4dafec3a67a39ef300.tar.gz rust-18bfca50f1a6d9ccf322fa4dafec3a67a39ef300.zip | |
interpret: pass MemoryKind to before_memory_deallocation
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/memory.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/memory.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/memory.rs b/compiler/rustc_const_eval/src/interpret/memory.rs index 9b1d9cf932b..ca2beb40ce8 100644 --- a/compiler/rustc_const_eval/src/interpret/memory.rs +++ b/compiler/rustc_const_eval/src/interpret/memory.rs @@ -355,6 +355,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> { (alloc_id, prov), size, alloc.align, + kind, )?; // Don't forget to remember size and align of this now-dead allocation |
