about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2021-01-08 18:38:33 -0500
committerJoshua Nelson <jyn514@gmail.com>2021-01-08 18:38:33 -0500
commit0215b3a45644925fa7ec4e9c1e71e9a0c7e21dd3 (patch)
tree682d95c6b6c0b0e02c60a0402f4f2ba5dbbca3c5
parent26438b473883ea607b30288e461187f0fb2fe589 (diff)
downloadrust-0215b3a45644925fa7ec4e9c1e71e9a0c7e21dd3.tar.gz
rust-0215b3a45644925fa7ec4e9c1e71e9a0c7e21dd3.zip
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.
-rw-r--r--compiler/rustc_query_system/src/query/plumbing.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_query_system/src/query/plumbing.rs b/compiler/rustc_query_system/src/query/plumbing.rs
index 426f5bb41d6..d17af6120c7 100644
--- a/compiler/rustc_query_system/src/query/plumbing.rs
+++ b/compiler/rustc_query_system/src/query/plumbing.rs
@@ -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,