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> {
3434 /// - `Ok(false)` if the walk was completed with no changes;
3535 /// - `Err(early)` if the walk was existed early by `op`. `earlyelem` is the
3636 /// value that `op` returned.
37+ #[ inline( never) ] // ensure dfs is identifiable in profiles
3738 pub ( super ) fn dfs < C > ( & self , mir : & Mir < ' tcx > , mut op : C ) -> Result < bool , C :: Early >
3839 where
3940 C : DfsOp ,
Original file line number Diff line number Diff line change @@ -452,6 +452,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
452452 self . inferred_values = Some ( inferred_values) ;
453453 }
454454
455+ #[ inline( never) ] // ensure dfs is identifiable in profiles
455456 fn compute_region_values ( & self , mir : & Mir < ' tcx > , track_causes : TrackCauses ) -> RegionValues {
456457 debug ! ( "compute_region_values()" ) ;
457458 debug ! ( "compute_region_values: constraints={:#?}" , {
You can’t perform that action at this time.
0 commit comments