mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 16:57:35 +02:00
Added comments, cleanup
This commit is contained in:
parent
0d83580fd5
commit
b3ea8324bd
1 changed files with 3 additions and 1 deletions
|
@ -716,6 +716,7 @@
|
||||||
(let* ((args (app->args exp))
|
(let* ((args (app->args exp))
|
||||||
(fun (app->fun exp)))
|
(fun (app->fun exp)))
|
||||||
(cond
|
(cond
|
||||||
|
;; Direct recursive call of top-level function
|
||||||
((and (pair? trace)
|
((and (pair? trace)
|
||||||
(not (null? (cdr trace)))
|
(not (null? (cdr trace)))
|
||||||
(adbv:direct-rec-call? (adb:get (cdr trace)))
|
(adbv:direct-rec-call? (adb:get (cdr trace)))
|
||||||
|
@ -724,8 +725,9 @@
|
||||||
(equal? (car args) (cdr trace))
|
(equal? (car args) (cdr trace))
|
||||||
)
|
)
|
||||||
(let* ((cgen
|
(let* ((cgen
|
||||||
|
;; TODO: skip the closure, just cdr the cdr???
|
||||||
(c-compile-args
|
(c-compile-args
|
||||||
args
|
(cdr args)
|
||||||
append-preamble
|
append-preamble
|
||||||
""
|
""
|
||||||
"" ;;this-cont
|
"" ;;this-cont
|
||||||
|
|
Loading…
Add table
Reference in a new issue