mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-14 00:07:36 +02:00
Simplify CPS conversion of top-level code
This commit is contained in:
parent
1e317d273b
commit
0b1490d102
1 changed files with 1 additions and 3 deletions
|
@ -1612,9 +1612,7 @@
|
|||
,@(let ((k (gensym 'k))
|
||||
(r (gensym 'r)))
|
||||
(cps (car (define->exp ast)) 'unused))))
|
||||
(cps ast
|
||||
(let ((r (gensym 'r)))
|
||||
`(lambda (,r) (%halt ,r)))))))
|
||||
(cps ast '%halt))))
|
||||
ast-cps))
|
||||
|
||||
;; Closure-conversion.
|
||||
|
|
Loading…
Add table
Reference in a new issue