Define data for all allocs during finalization

This commit is contained in:
bjorn3
2018-08-13 16:58:07 +02:00
parent b707da40a5
commit 4615359e86
2 changed files with 25 additions and 26 deletions

View File

@@ -281,7 +281,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
}
}
cx.constants.finalize(&mut cx.module);
cx.constants.finalize(tcx, &mut cx.module);
let after = ::std::time::Instant::now();
println!("time: {:?}", after - before);