File tree Expand file tree Collapse file tree 6 files changed +455
-239
lines changed Expand file tree Collapse file tree 6 files changed +455
-239
lines changed Original file line number Diff line number Diff line change @@ -1122,6 +1122,7 @@ impl CurrentDepGraph {
1122
1122
}
1123
1123
1124
1124
impl DepGraphData {
1125
+ #[ inline]
1125
1126
fn read_index ( & self , source : DepNodeIndex ) {
1126
1127
ty:: tls:: with_context_opt ( |icx| {
1127
1128
let icx = if let Some ( icx) = icx { icx } else { return } ;
Original file line number Diff line number Diff line change @@ -1608,7 +1608,7 @@ pub mod tls {
1608
1608
1609
1609
use crate :: dep_graph:: TaskDeps ;
1610
1610
use crate :: ty:: query;
1611
- use rustc_data_structures:: sync:: { self , Lock , Lrc } ;
1611
+ use rustc_data_structures:: sync:: { self , Lock } ;
1612
1612
use rustc_data_structures:: thin_vec:: ThinVec ;
1613
1613
use rustc_data_structures:: OnDrop ;
1614
1614
use rustc_errors:: Diagnostic ;
@@ -1633,7 +1633,7 @@ pub mod tls {
1633
1633
1634
1634
/// The current query job, if any. This is updated by `JobOwner::start` in
1635
1635
/// `ty::query::plumbing` when executing a query.
1636
- pub query : Option < Lrc < query:: QueryJob < ' tcx > > > ,
1636
+ pub query : Option < query:: QueryJobId > ,
1637
1637
1638
1638
/// Where to store diagnostics for the current query job, if any.
1639
1639
/// This is updated by `JobOwner::start` in `ty::query::plumbing` when executing a query.
@@ -1684,6 +1684,7 @@ pub mod tls {
1684
1684
1685
1685
/// Gets the pointer to the current `ImplicitCtxt`.
1686
1686
#[ cfg( not( parallel_compiler) ) ]
1687
+ #[ inline]
1687
1688
fn get_tlv ( ) -> usize {
1688
1689
TLV . with ( |tlv| tlv. get ( ) )
1689
1690
}
You can’t perform that action at this time.
0 commit comments