errortrace: hack to recover `with-continuation-mark' optimization
This commit is contained in:
parent
577cf4592e
commit
8655a6856e
|
@ -5,7 +5,12 @@
|
|||
;; various annotations inserted by this
|
||||
;; library.
|
||||
|
||||
(define-values (errortrace-key) (gensym 'key))
|
||||
;; Defining `errortrace-key' as a funciton is a performance hack:
|
||||
;; the compiler can track function constants, and in particular the
|
||||
;; fact that it's not an impersonated/chaperoned mark key, so that a
|
||||
;; `with-continuation-mark' using this key can be dropped if the
|
||||
;; body expression is simple.
|
||||
(define-values (errortrace-key) (lambda () 'anything))
|
||||
|
||||
(define-values (test-coverage-info)
|
||||
(make-parameter
|
||||
|
|
Loading…
Reference in New Issue
Block a user