about summary refs log tree commit diff
path: root/src/librustc/ty/query
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-01-08 14:11:19 +0000
committerbors <bors@rust-lang.org>2019-01-08 14:11:19 +0000
commitb8c8f0bdf62728198696cab7d00a8fdc3ee381d3 (patch)
tree4b8b539f0999a9d5c7cb9aaadd100b983072d84c /src/librustc/ty/query
parent2f19f8cec96d96d83b393fbbdd61204b87d423e6 (diff)
parent584a52096e207f7884d57da3d1357ce7f056f1da (diff)
downloadrust-b8c8f0bdf62728198696cab7d00a8fdc3ee381d3.tar.gz
rust-b8c8f0bdf62728198696cab7d00a8fdc3ee381d3.zip
Auto merge of #57114 - Zoxc:query-perf11, r=michaelwoerister
Clean up and optimize OpenTask / read_index

r? @michaelwoerister
Diffstat (limited to 'src/librustc/ty/query')
-rw-r--r--src/librustc/ty/query/plumbing.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/ty/query/plumbing.rs b/src/librustc/ty/query/plumbing.rs
index 19198e90a81..2d619d19b42 100644
--- a/src/librustc/ty/query/plumbing.rs
+++ b/src/librustc/ty/query/plumbing.rs
@@ -209,7 +209,7 @@ impl<'a, 'tcx, Q: QueryDescription<'tcx>> JobOwner<'a, 'tcx, Q> {
                 tcx: tcx.global_tcx(),
                 query: Some(self.job.clone()),
                 layout_depth: current_icx.layout_depth,
-                task: current_icx.task,
+                task_deps: current_icx.task_deps,
             };
 
             // Use the ImplicitCtxt while we execute the query