update comment about heuristics

This commit is contained in:
Niko Matsakis
2017-05-02 06:33:11 -04:00
parent b0092e89e0
commit 0afcfce8d8
+3 -1
View File
@@ -72,7 +72,9 @@ fn run_pass(&self, caller_mir: &mut Mir<'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();