mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-09 13:33:43 +00:00
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 https://github.com/rust-lang/rust/issues/78780. I am not sure if it will hurt or help. cc `@cjgillot`
This commit is contained in:
commit
7cf205610e
@ -566,7 +566,6 @@ fn incremental_verify_ich<CTX, K, V>(
|
||||
assert!(new_hash == old_hash, "found unstable fingerprints for {:?}", dep_node,);
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
fn force_query_with_job<C, CTX>(
|
||||
tcx: CTX,
|
||||
key: C::Key,
|
||||
|
Loading…
Reference in New Issue
Block a user