about summary refs log tree commit diff
path: root/compiler/rustc_query_system/src/dep_graph/mod.rs
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2021-10-16 21:12:34 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2021-10-20 18:32:29 +0200
commitbd5c10767246dc00b2350b1005ee4b857ce2fe22 (patch)
tree29881343bf4cafe17a6a5a74b6f678c9f88e4f7c /compiler/rustc_query_system/src/dep_graph/mod.rs
parent602d3cbce3e6227ad7cd5c009c868c9e405a9f32 (diff)
downloadrust-bd5c10767246dc00b2350b1005ee4b857ce2fe22.tar.gz
rust-bd5c10767246dc00b2350b1005ee4b857ce2fe22.zip
Build jump table at runtime.
Diffstat (limited to 'compiler/rustc_query_system/src/dep_graph/mod.rs')
-rw-r--r--compiler/rustc_query_system/src/dep_graph/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_query_system/src/dep_graph/mod.rs b/compiler/rustc_query_system/src/dep_graph/mod.rs
index d7f7758d02c..047fc9f10cc 100644
--- a/compiler/rustc_query_system/src/dep_graph/mod.rs
+++ b/compiler/rustc_query_system/src/dep_graph/mod.rs
@@ -39,10 +39,10 @@ pub trait DepContext: Copy {
     fn fingerprint_style(&self, kind: Self::DepKind) -> FingerprintStyle;
 
     /// Try to force a dep node to execute and see if it's green.
-    fn try_force_from_dep_node(&self, dep_node: &DepNode<Self::DepKind>) -> bool;
+    fn try_force_from_dep_node(&self, dep_node: DepNode<Self::DepKind>) -> bool;
 
     /// Load data from the on-disk cache.
-    fn try_load_from_on_disk_cache(&self, dep_node: &DepNode<Self::DepKind>);
+    fn try_load_from_on_disk_cache(&self, dep_node: DepNode<Self::DepKind>);
 }
 
 pub trait HasDepContext: Copy {