Fix extraction of options

This commit is contained in:
Justin Ethier 2019-02-13 10:41:02 -05:00
parent 2a91c9431e
commit 2c418ec33d

View file

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