This commit is contained in:
Justin Ethier 2018-10-19 13:33:47 -04:00
parent 23aaae8f05
commit 88f0db1547

View file

@ -1537,11 +1537,12 @@
(c-code (c-code
;; Only trace when entering initial defined function ;; Only trace when entering initial defined function
(cond (cond
(has-closure? "") (has-closure?
(if has-loop? "\n while(1) {\n" "")
)
(else (else
(string-append (string-append
(st:->code trace) (st:->code trace)
TODO: does not work for calls-self, need to invoke that elsewhere...
(if has-loop? "\n while(1) {\n" "") (if has-loop? "\n while(1) {\n" "")
)))) ))))
body) body)