summaryrefslogtreecommitdiff
path: root/module/language/tree-il/optimize.scm
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2021-04-02 10:07:07 +0200
committerAndy Wingo <wingo@pobox.com>2021-05-11 21:39:07 +0200
commit809b1651289b330fbcc30d539e1b3c5c20bc83af (patch)
tree4f7bdaf7ea8fa20daeaaeb64b3599222ad6c13a5 /module/language/tree-il/optimize.scm
parentafd268ac1d3f3b4897adc6c189366bf57751e907 (diff)
downloadguile-809b1651289b330fbcc30d539e1b3c5c20bc83af.tar.gz
Letrectify links module defs with uses
* module/language/tree-il/letrectify.scm (letrectify): Inline "let" bindings inside residualized "letrec*" forms, to allow the dominator relationship to be reflected in the scope tree. Also, detect "define-module*" invocations, and add these to the mod-vars set, so that residualized "module-ensure-local-variable!" primcalls can clearly denote their module without having to use "current-module".
Diffstat (limited to 'module/language/tree-il/optimize.scm')
0 files changed, 0 insertions, 0 deletions