svn: r16704

original commit: e34e001167077490a27fd9a1cd1ed5209c24d65c
This commit is contained in:
Eli Barzilay 2009-11-12 00:18:08 +00:00
parent df40adad82
commit 98b55a89ee

View File

@ -42,5 +42,14 @@
;; is-var-mutated? : identifier -> boolean
(define (is-var-mutated? id) (module-identifier-mapping-get table id (lambda _ #f)))
(provide find-mutated-vars is-var-mutated?)
;; Eli:
;; - The `for-template' doesn't look like it's needed.
;; - This is the *worst* looking interface I've seen in a while. Seems very
;; specific to some unclear optimization needs. (Either that, or translated
;; from C.)
;; - Besides weird, identifiers maps are (IIRC) not weak, which makes this even
;; less general.
;; - What's with the typed-scheme literals? If they were needed, then
;; typed-scheme is probably broken now.
(provide find-mutated-vars is-var-mutated?)