* swapped the message and the procedure for time-it.

This commit is contained in:
Abdulaziz Ghuloum 2007-05-07 02:32:39 -04:00
parent 4e5d1439e0
commit 24f07a7d66
3 changed files with 6 additions and 8 deletions

Binary file not shown.

View File

@ -70,8 +70,8 @@
(define time-it
(case-lambda
[(proc)
(time-it proc #f)]
[(proc message)
(time-it #f proc)]
[(message proc)
(unless (procedure? proc)
(error 'time-it "~s is not a procedure" proc))
(let* ([t0 (mk-stats)]

View File

@ -685,12 +685,11 @@
(verify-map)
(time-it
(time-it "the entire bootstrap process"
(lambda ()
(let-values ([(core* locs)
(time-it
(lambda () (expand-all scheme-library-files))
"macro expansion")])
(time-it "macro expansion"
(lambda () (expand-all scheme-library-files)))])
(parameterize ([current-primitive-locations
(lambda (x)
(cond
@ -701,8 +700,7 @@
(for-each
(lambda (x) (compile-core-expr-to-port x p))
core*)
(close-output-port p)))))
"the entire bootstrap process")
(close-output-port p))))))
(printf "Happy Happy Joy Joy\n"))