Don't prune cold inlining successes.
This commit is contained in:
parent
8202de8f4a
commit
09683d4441
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user