Made Typed Scheme's optimizer silent.

original commit: a4c556bc85512ac720e9c11b3abeee9c8a8f5faa
This commit is contained in:
Vincent St-Amour 2010-06-11 15:48:12 -04:00
parent 450f6f98e2
commit dcf687d53b

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