Don't prune cold inlining successes.

This commit is contained in:
Vincent St-Amour 2012-12-06 16:13:37 -05:00
parent 8202de8f4a
commit 09683d4441

View File

@ -228,7 +228,9 @@
;; We don't want to prune earlier, since traversing cold functions can
;; give us advice about hot functions.
(when (and (not inside-hot-function?)
(not really-hot-anonymous-function-inside-us?))
(not really-hot-anonymous-function-inside-us?)
;; Cold successes are useful information.
(counts-as-a-missed-opt? pruned-log))
(prune))
(cond [(and (counts-as-a-missed-opt? pruned-log)