File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
src/librustc_mir/borrow_check/nll/region_infer Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
34
34
/// - `Ok(false)` if the walk was completed with no changes;
35
35
/// - `Err(early)` if the walk was existed early by `op`. `earlyelem` is the
36
36
/// value that `op` returned.
37
+ #[ inline( never) ] // ensure dfs is identifiable in profiles
37
38
pub ( super ) fn dfs < C > ( & self , mir : & Mir < ' tcx > , mut op : C ) -> Result < bool , C :: Early >
38
39
where
39
40
C : DfsOp ,
Original file line number Diff line number Diff line change @@ -452,6 +452,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
452
452
self . inferred_values = Some ( inferred_values) ;
453
453
}
454
454
455
+ #[ inline( never) ] // ensure dfs is identifiable in profiles
455
456
fn compute_region_values ( & self , mir : & Mir < ' tcx > , track_causes : TrackCauses ) -> RegionValues {
456
457
debug ! ( "compute_region_values()" ) ;
457
458
debug ! ( "compute_region_values: constraints={:#?}" , {
You can’t perform that action at this time.
0 commit comments