mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-09 22:17:33 +02:00
Export new funcs
This commit is contained in:
parent
e45837a19f
commit
2816a4771e
1 changed files with 3 additions and 0 deletions
|
@ -116,6 +116,8 @@
|
||||||
is-mutable?
|
is-mutable?
|
||||||
analyze-mutable-variables
|
analyze-mutable-variables
|
||||||
wrap-mutables
|
wrap-mutables
|
||||||
|
mark-mutated-loop-var
|
||||||
|
mutated-loop-var?
|
||||||
)
|
)
|
||||||
(include "cps-opt-local-var-redux.scm")
|
(include "cps-opt-local-var-redux.scm")
|
||||||
(include "cps-opt-analyze-call-graph.scm")
|
(include "cps-opt-analyze-call-graph.scm")
|
||||||
|
@ -2534,6 +2536,7 @@
|
||||||
;; var may be used for a recursive loop.
|
;; var may be used for a recursive loop.
|
||||||
(when (and (= 2 (length exp))
|
(when (and (= 2 (length exp))
|
||||||
(ast:lambda? (car exp))
|
(ast:lambda? (car exp))
|
||||||
|
#f ;; TEmporarily disabled
|
||||||
(not (cadr exp)))
|
(not (cadr exp)))
|
||||||
;; Candidate, see if the var is set to a lambda
|
;; Candidate, see if the var is set to a lambda
|
||||||
(with-var (car (ast:lambda-formals->list (car exp))) (lambda (var)
|
(with-var (car (ast:lambda-formals->list (car exp))) (lambda (var)
|
||||||
|
|
Loading…
Add table
Reference in a new issue