]> git.lizzy.rs Git - rust.git/commitdiff
various nits from review
authorRalf Jung <post@ralfj.de>
Wed, 20 Jul 2022 14:47:49 +0000 (10:47 -0400)
committerRalf Jung <post@ralfj.de>
Wed, 20 Jul 2022 21:12:08 +0000 (17:12 -0400)
src/constant.rs

index b5a143485893fb5897f0b46c39162ad8a2387456..94a2fb2fbddc298da7efde1311b555785bcda11a 100644 (file)
@@ -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(..) => {