Added TODO

This commit is contained in:
Justin Ethier 2015-04-29 16:58:43 -04:00
parent 1c45b8dff2
commit ce2b998a30

View file

@ -83,6 +83,7 @@
;; Optimize-out unused global variables ;; Optimize-out unused global variables
;; For now, do not do this if eval is used. ;; For now, do not do this if eval is used.
;; TODO: do not have to be so aggressive, unless (eval (read)) or such ;; TODO: do not have to be so aggressive, unless (eval (read)) or such
TODO: do not remove globals that are part of the export list!
(if (not (has-global? input-program 'eval)) (if (not (has-global? input-program 'eval))
(set! input-program (set! input-program
(filter-unused-variables input-program))) (filter-unused-variables input-program)))