diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2017-05-02 06:33:11 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2017-05-02 16:21:57 -0400 |
| commit | 0afcfce8d85b23c85303b7184c9a3d0bb28a4f6b (patch) | |
| tree | 799c4da9fc8364fa92143993c686b7d3841e4e8a | |
| parent | b0092e89e03bf79ed34b4c8e18d296c762ee80b2 (diff) | |
| download | rust-0afcfce8d85b23c85303b7184c9a3d0bb28a4f6b.tar.gz rust-0afcfce8d85b23c85303b7184c9a3d0bb28a4f6b.zip | |
update comment about heuristics
| -rw-r--r-- | src/librustc_mir/transform/inline.rs | 4 |
1 files changed, 3 insertions, 1 deletions
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(); |
