about summary refs log tree commit diff
path: root/compiler/rustc_query_system/src/query/job.rs
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2021-05-11 20:12:52 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2021-08-22 20:23:31 +0200
commit307aacaf05419fbd45c9c5c428cb1004801f455b (patch)
tree69738780a192e74429a42a487cbbf2f3823da4e6 /compiler/rustc_query_system/src/query/job.rs
parentd2304008c1ea8985f21e98ecdba3108611e8786d (diff)
downloadrust-307aacaf05419fbd45c9c5c428cb1004801f455b.tar.gz
rust-307aacaf05419fbd45c9c5c428cb1004801f455b.zip
Decouple JobOwner from cache.
Diffstat (limited to 'compiler/rustc_query_system/src/query/job.rs')
-rw-r--r--compiler/rustc_query_system/src/query/job.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_query_system/src/query/job.rs b/compiler/rustc_query_system/src/query/job.rs
index a967670280f..8b338a0b1d1 100644
--- a/compiler/rustc_query_system/src/query/job.rs
+++ b/compiler/rustc_query_system/src/query/job.rs
@@ -143,6 +143,8 @@ impl<D> QueryJobId<D>
 where
     D: Copy + Clone + Eq + Hash,
 {
+    #[cold]
+    #[inline(never)]
     pub(super) fn find_cycle_in_stack(
         &self,
         query_map: QueryMap<D>,