* swapped the message and the procedure for time-it.
This commit is contained in:
parent
4e5d1439e0
commit
24f07a7d66
BIN
src/ikarus.boot
BIN
src/ikarus.boot
Binary file not shown.
|
@ -70,8 +70,8 @@
|
||||||
(define time-it
|
(define time-it
|
||||||
(case-lambda
|
(case-lambda
|
||||||
[(proc)
|
[(proc)
|
||||||
(time-it proc #f)]
|
(time-it #f proc)]
|
||||||
[(proc message)
|
[(message proc)
|
||||||
(unless (procedure? proc)
|
(unless (procedure? proc)
|
||||||
(error 'time-it "~s is not a procedure" proc))
|
(error 'time-it "~s is not a procedure" proc))
|
||||||
(let* ([t0 (mk-stats)]
|
(let* ([t0 (mk-stats)]
|
||||||
|
|
|
@ -685,12 +685,11 @@
|
||||||
|
|
||||||
(verify-map)
|
(verify-map)
|
||||||
|
|
||||||
(time-it
|
(time-it "the entire bootstrap process"
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(let-values ([(core* locs)
|
(let-values ([(core* locs)
|
||||||
(time-it
|
(time-it "macro expansion"
|
||||||
(lambda () (expand-all scheme-library-files))
|
(lambda () (expand-all scheme-library-files)))])
|
||||||
"macro expansion")])
|
|
||||||
(parameterize ([current-primitive-locations
|
(parameterize ([current-primitive-locations
|
||||||
(lambda (x)
|
(lambda (x)
|
||||||
(cond
|
(cond
|
||||||
|
@ -701,8 +700,7 @@
|
||||||
(for-each
|
(for-each
|
||||||
(lambda (x) (compile-core-expr-to-port x p))
|
(lambda (x) (compile-core-expr-to-port x p))
|
||||||
core*)
|
core*)
|
||||||
(close-output-port p)))))
|
(close-output-port p))))))
|
||||||
"the entire bootstrap process")
|
|
||||||
|
|
||||||
(printf "Happy Happy Joy Joy\n"))
|
(printf "Happy Happy Joy Joy\n"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue