Only show inlining reports when profiling information is available.

Without profiling information, pruning is not good enough.
This commit is contained in:
Vincent St-Amour 2012-11-25 18:08:10 -05:00
parent 6d7f1627b8
commit e4f3d8e73c

View File

@ -17,7 +17,9 @@
(if profile (if profile
(report-hidden-costs info-log profile hot-functions) (report-hidden-costs info-log profile hot-functions)
'()))) '())))
(report-inlining mzc-log profile hot-functions))) (if profile ; inlining reports have too low a SNR to be shown w/o profiling
(report-inlining mzc-log profile hot-functions)
'())))
;; Returns a report-entry or #f, which means prune. ;; Returns a report-entry or #f, which means prune.