mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 00:37:35 +02:00
WIP
This commit is contained in:
parent
c4c22cfad8
commit
0d83580fd5
1 changed files with 4 additions and 3 deletions
|
@ -711,7 +711,7 @@
|
|||
|
||||
;; c-compile-app : app-exp (string -> void) -> string
|
||||
(define (c-compile-app exp append-preamble cont trace cps?)
|
||||
;(trace:debug `(c-compile-app: ,exp))
|
||||
(trace:info `(c-compile-app: ,exp ,trace))
|
||||
(let (($tmp (mangle (gensym 'tmp))))
|
||||
(let* ((args (app->args exp))
|
||||
(fun (app->fun exp)))
|
||||
|
@ -719,8 +719,9 @@
|
|||
((and (pair? trace)
|
||||
(not (null? (cdr trace)))
|
||||
(adbv:direct-rec-call? (adb:get (cdr trace)))
|
||||
TODO: what to put here? only want this for the direct rec calls...
|
||||
(equal? (car exp) (cdr trace))
|
||||
(tagged-list? '%closure-ref fun)
|
||||
(equal? (cadr fun) (cdr trace)) ;; Needed?
|
||||
(equal? (car args) (cdr trace))
|
||||
)
|
||||
(let* ((cgen
|
||||
(c-compile-args
|
||||
|
|
Loading…
Add table
Reference in a new issue