eliminating some params from the make system; trying to introduce caching

This commit is contained in:
Danny Yoo 2011-09-03 21:29:34 -04:00
parent 93a1987537
commit 8a7661df5c
3 changed files with 5 additions and 8 deletions

View File

@ -257,7 +257,7 @@ MACHINE.modules[~s] =
(void))
(define (after-visit-src src ast stmts)
(define (after-visit-src src)
(cond
[(UninterpretedSource? src)
(void)]
@ -327,7 +327,7 @@ MACHINE.modules[~s] =
(fprintf op "(MACHINE, function() { "))
;; after
(lambda (src ast stmts)
(lambda (src)
(fprintf op " }, FAIL, PARAMS);"))
;; last

View File

@ -55,10 +55,7 @@
(U Expression #f)
(Listof Statement)
-> Void)]
[after-module-statements : (Source
(U Expression #f)
(Listof Statement)
-> Void)]
[after-module-statements : (Source -> Void)]
[after-last : (-> Void)])
#:mutable)
@ -70,7 +67,7 @@
(when (and ast (expression-module-path ast))
(printf "debug build configuration: visiting ~s\n"
(expression-module-path ast))))
(lambda (src ast stmt)
(lambda (src)
(void))
(lambda ()
(void))))

View File

@ -182,6 +182,6 @@
(define end-time (current-inexact-milliseconds))
(fprintf (current-timing-port) " computing dependencies: ~a milliseconds\n" (- end-time start-time))
(loop (append new-dependencies (rest sources)))
(after-module-statements this-source ast stmts))])))
(after-module-statements this-source))])))
(follow-dependencies (map wrap-source sources))])))