Skip to content

Commit 7cf2056

Browse files
committed
Auto merge of #80831 - jyn514:no-inline, r=Mark-Simulacrum
Don't mark `force_query_with_job` as `inline(always)` It's rather large, and using `inline(always)` forces it to be recompiled in each calling crate. Hopefully this change will help with #65031. I intentionally only removed inline from `force_query_with_job` because the other functions are tiny and I wanted to measure this change on its own. This may conflict with #78780. I am not sure if it will hurt or help. cc `@cjgillot`
2 parents f30733a + 0215b3a commit 7cf2056

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/rustc_query_system/src/query/plumbing.rs

-1
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,6 @@ fn incremental_verify_ich<CTX, K, V>(
566566
assert!(new_hash == old_hash, "found unstable fingerprints for {:?}", dep_node,);
567567
}
568568

569-
#[inline(always)]
570569
fn force_query_with_job<C, CTX>(
571570
tcx: CTX,
572571
key: C::Key,

0 commit comments

Comments
 (0)