Made Typed Scheme's optimizer silent.

This commit is contained in:
Vincent St-Amour 2010-06-11 15:48:12 -04:00
parent fe09ce3dee
commit a4c556bc85

View File

@ -43,9 +43,8 @@
[(optimized-body ...)
;; do we optimize?
(if (optimize?)
(begin (printf "optimizing ...\n")
(begin0 (map optimize (syntax->list #'transformed-body))
(do-time "Optimized")))
(begin0 (map optimize (syntax->list #'transformed-body))
(do-time "Optimized"))
#'transformed-body)])
;; reconstruct the module with the extra code
;; use the regular %#module-begin from `racket/base' for top-level printing