diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2020-07-24 20:42:00 +0200 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2020-07-31 22:38:20 +0200 |
| commit | ec7230fea2f4a96a1993c54bf2b17892d2e978b4 (patch) | |
| tree | 4761e206797c576bfbde450aa2b0f338ce298f8a /src/librustc_mir/interpret | |
| parent | 6e87bacd37539b7e7cd75152dffd225047fa983a (diff) | |
| download | rust-ec7230fea2f4a96a1993c54bf2b17892d2e978b4.tar.gz rust-ec7230fea2f4a96a1993c54bf2b17892d2e978b4.zip | |
Move from `log` to `tracing`
Diffstat (limited to 'src/librustc_mir/interpret')
| -rw-r--r-- | src/librustc_mir/interpret/eval_context.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_mir/interpret/eval_context.rs b/src/librustc_mir/interpret/eval_context.rs index 630b2890835..879a8e64490 100644 --- a/src/librustc_mir/interpret/eval_context.rs +++ b/src/librustc_mir/interpret/eval_context.rs @@ -818,11 +818,10 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> { ) -> InterpResult<'tcx> { // FIXME: should we tell the user that there was a local which was never written to? if let LocalValue::Live(Operand::Indirect(MemPlace { ptr, .. })) = local { - trace!("deallocating local"); // All locals have a backing allocation, even if the allocation is empty // due to the local having ZST type. let ptr = ptr.assert_ptr(); - trace!("{:?}", self.memory.dump_alloc(ptr.alloc_id)); + trace!("deallocating local: {:?}", self.memory.dump_alloc(ptr.alloc_id)); self.memory.deallocate_local(ptr)?; }; Ok(()) |
