Extract data from pair

This commit is contained in:
Justin Ethier 2019-02-12 14:03:54 -05:00
parent 3bbd89ce2c
commit dab0d9a570

View file

@ -1716,10 +1716,10 @@
)
;; Memoize pure functions, if instructed
(let ((module-globals (assoc 'module-globals options)))
(when (and module-globals #t ;; TODO: (assoc 'memoize-pure-functions options)
(let ((module-globals-pair (assoc 'module-globals options)))
(when (and module-globals-pair #t ;; TODO: (assoc 'memoize-pure-functions options)
)
(set! new-ast (opt:memoize-pure-fncs new-ast module-globals)))
(set! new-ast (opt:memoize-pure-fncs new-ast (cdr module-globals-pair))))
)
new-ast
)