diff options
| author | Ralf Jung <post@ralfj.de> | 2022-07-20 10:47:49 -0400 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-07-20 17:12:08 -0400 |
| commit | 0318f07bddd9911cb23d33eb668a911de2a02f3a (patch) | |
| tree | d8c18addb24245c6a8d7ecf32f727a18ac2b34b2 /compiler/rustc_codegen_cranelift/src | |
| parent | 9cbd1066d711ef4b5de00fc105f05ee6a3db9ae9 (diff) | |
| download | rust-0318f07bddd9911cb23d33eb668a911de2a02f3a.tar.gz rust-0318f07bddd9911cb23d33eb668a911de2a02f3a.zip | |
various nits from review
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/constant.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/constant.rs b/compiler/rustc_codegen_cranelift/src/constant.rs index b5a14348589..94a2fb2fbdd 100644 --- a/compiler/rustc_codegen_cranelift/src/constant.rs +++ b/compiler/rustc_codegen_cranelift/src/constant.rs @@ -369,7 +369,6 @@ fn define_all_allocs(tcx: TyCtxt<'_>, module: &mut dyn Module, cx: &mut Constant while let Some(todo_item) = cx.todo.pop() { let (data_id, alloc, section_name) = match todo_item { TodoItem::Alloc(alloc_id) => { - //println!("alloc_id {}", alloc_id); let alloc = match tcx.global_alloc(alloc_id) { GlobalAlloc::Memory(alloc) => alloc, GlobalAlloc::Function(_) | GlobalAlloc::Static(_) | GlobalAlloc::VTable(..) => { |
