Skip to content

Commit 98d0f7d

Browse files
committed
Prefetch mir_keys
1 parent 0fdcfe1 commit 98d0f7d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/librustc_interface/passes.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,10 @@ fn analysis(tcx: TyCtxt<'_>, cnum: CrateNum) -> Result<()> {
806806
// Prefetch in case something needs printing.
807807
tcx.visible_parent_map(LOCAL_CRATE);
808808
},
809+
{
810+
// Prefetch mir_keys
811+
tcx.mir_keys(LOCAL_CRATE);
812+
},
809813
{
810814
// This is used by `check_mod_unstable_api_usage`.
811815
// Make sure it is complete before we fan out.

0 commit comments

Comments
 (0)