Add a clarifying comment.
This is something that took me some time to figure out.
This commit is contained in:
parent
20de2ba759
commit
59c5259bc9
@ -259,6 +259,8 @@ pub fn partition<'tcx, I>(
|
||||
debug_dump(tcx, "INITIAL PARTITIONING", &codegen_units);
|
||||
|
||||
// Merge until we have at most `max_cgu_count` codegen units.
|
||||
// `merge_codegen_units` is responsible for updating the CGU size
|
||||
// estimates.
|
||||
{
|
||||
let _prof_timer = tcx.prof.generic_activity("cgu_partitioning_merge_cgus");
|
||||
partitioner.merge_codegen_units(cx, &mut codegen_units);
|
||||
|
Loading…
Reference in New Issue
Block a user