From 0afcfce8d85b23c85303b7184c9a3d0bb28a4f6b Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 2 May 2017 06:33:11 -0400 Subject: update comment about heuristics --- src/librustc_mir/transform/inline.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/librustc_mir/transform/inline.rs b/src/librustc_mir/transform/inline.rs index 3f6ce9c9446..f60dcbed6ba 100644 --- a/src/librustc_mir/transform/inline.rs +++ b/src/librustc_mir/transform/inline.rs @@ -72,7 +72,9 @@ impl<'a, 'tcx> Inliner<'a, 'tcx> { // inline. // // We use a queue so that we inline "broadly" before we inline - // in depth. It is unclear if this is the current heuristic. + // in depth. It is unclear if this is the best heuristic, + // really, but that's true of all the heuristics in this + // file. =) let mut callsites = VecDeque::new(); -- cgit 1.4.1-3-g733a5