cs: restore cross-module optimization
A backwards `if` in a7988c3813
disabled cross-module optimization.
This commit is contained in:
parent
20e669f478
commit
d69f5cf00f
|
@ -528,9 +528,8 @@
|
|||
;; Callback to get a specific linklet for a
|
||||
;; given import:
|
||||
(if get-import
|
||||
(lambda (key) (values #f #f #f))
|
||||
(lambda (key)
|
||||
(lookup-linklet-or-instance get-import key)))
|
||||
(lambda (key) (lookup-linklet-or-instance get-import key))
|
||||
(lambda (key) (values #f #f #f)))
|
||||
import-keys))
|
||||
(define impl-lam/lifts
|
||||
(lift-in-schemified-linklet (show pre-lift-on? "pre-lift" impl-lam)))
|
||||
|
|
|
@ -95,8 +95,7 @@
|
|||
(sstats-gc-cpu stats)))))))))))
|
||||
|
||||
(define (current-gc-milliseconds)
|
||||
(let ([stats (statistics)])
|
||||
(inexact->exact (floor (time->ms (sstats-gc-cpu stats))))))
|
||||
(inexact->exact (floor (time->ms (#%$gc-cpu-time)))))
|
||||
|
||||
(define (current-milliseconds)
|
||||
(inexact->exact (floor (current-inexact-milliseconds))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user