move assert_module_sources
call down below
This commit is contained in:
parent
fe78b546ed
commit
6cb516ad7b
1 changed files with 2 additions and 2 deletions
|
@ -1140,8 +1140,6 @@ pub fn trans_crate<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
|
||||||
})
|
})
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
assert_module_sources::assert_module_sources(tcx, &modules);
|
|
||||||
|
|
||||||
for ccx in crate_context_list.iter_need_trans() {
|
for ccx in crate_context_list.iter_need_trans() {
|
||||||
let dep_node = ccx.codegen_unit().work_product_dep_node();
|
let dep_node = ccx.codegen_unit().work_product_dep_node();
|
||||||
tcx.dep_graph.with_task(dep_node,
|
tcx.dep_graph.with_task(dep_node,
|
||||||
|
@ -1205,6 +1203,8 @@ pub fn trans_crate<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
assert_module_sources::assert_module_sources(tcx, &modules);
|
||||||
|
|
||||||
symbol_names_test::report_symbol_names(&shared_ccx);
|
symbol_names_test::report_symbol_names(&shared_ccx);
|
||||||
|
|
||||||
if shared_ccx.sess().trans_stats() {
|
if shared_ccx.sess().trans_stats() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue