This commit is contained in:
Danny Yoo 2011-03-01 02:56:20 -05:00
parent fb0fb941e3
commit 81b1637a10

View File

@ -220,9 +220,15 @@
[operand-codes (map (lambda: ([operand : Expression])
(compile operand cenv 'val 'next))
(App-operands exp))])
;; FIXME: we need to allocate space for the arguments in the environment.
;; FIXME: we need to compile each operand especially to write to the correct
;; environment location.
;; FIXME: we need to push the control.
;; FIXME: at procedure entry, the arguments need to be installed
;; in the environment. We need to install
;; the closure's values now.
;;
;; FIXME: if we're calling in tail position, preserve space.
(append-instruction-sequences
proc-code
(append-instruction-sequences