document reason for #[inline(never)] annotation
This commit is contained in:
parent
499d784fbd
commit
bd90302af6
1 changed files with 1 additions and 1 deletions
|
@ -556,7 +556,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
|
||||||
/// indices of constraints that need to be re-evaluated when X changes.
|
/// indices of constraints that need to be re-evaluated when X changes.
|
||||||
/// These are constraints like Y: X @ P -- so if X changed, we may
|
/// These are constraints like Y: X @ P -- so if X changed, we may
|
||||||
/// need to grow Y.
|
/// need to grow Y.
|
||||||
#[inline(never)]
|
#[inline(never)] // ensure dfs is identifiable in profiles
|
||||||
fn build_dependency_map(&mut self) -> IndexVec<RegionVid, Option<ConstraintIndex>> {
|
fn build_dependency_map(&mut self) -> IndexVec<RegionVid, Option<ConstraintIndex>> {
|
||||||
let mut map = IndexVec::from_elem(None, &self.definitions);
|
let mut map = IndexVec::from_elem(None, &self.definitions);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue