Have separate checkbox for hidden costs.

This commit is contained in:
Vincent St-Amour 2012-11-25 18:37:10 -05:00
parent 8ffbaabfa6
commit 928ea23a12
2 changed files with 4 additions and 1 deletions

View File

@ -40,7 +40,7 @@
(list (missed-opt-report-entry
(log-entry-located-stx info-entry)
message
'typed-racket
'hidden-cost
badness
'())) ; no irritants to highlight
start end

View File

@ -21,6 +21,9 @@
[_ #f]))
("Report inlining optimizations?" .
,(match-lambda [(sub-report-entry s m 'mzc) #t]
[_ #f]))
("Report hidden costs?" .
,(match-lambda [(sub-report-entry s m 'hidden-cost) #t]
[_ #f]))))
(define (copy-definitions definitions)