summaryrefslogtreecommitdiff
path: root/am
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2021-04-01 14:46:01 +0200
committerAndy Wingo <wingo@pobox.com>2021-05-11 21:39:07 +0200
commita892791b43a68a80f2caeab49b123bc828324969 (patch)
tree1f3279ef50372b92171417867afe411de5aa601c /am
parent809b1651289b330fbcc30d539e1b3c5c20bc83af (diff)
downloadguile-a892791b43a68a80f2caeab49b123bc828324969.tar.gz
Add pass to resolve free toplevel references in declarative modules
* am/bootstrap.am (SOURCES): * module/Makefile.am (SOURCES): * module/language/tree-il/optimize.scm (make-optimizer): Wire up the new pass. * module/language/tree-il/resolve-free-vars.scm: New pass. * module/system/base/optimize.scm (available-optimizations): Enable new pass at -O1.
Diffstat (limited to 'am')
-rw-r--r--am/bootstrap.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/am/bootstrap.am b/am/bootstrap.am
index 1ba52dd37..3d4729010 100644
--- a/am/bootstrap.am
+++ b/am/bootstrap.am
@@ -67,6 +67,7 @@ SOURCES = \
language/tree-il/optimize.scm \
language/tree-il/peval.scm \
language/tree-il/primitives.scm \
+ language/tree-il/resolve-free-vars.scm \
language/tree-il/spec.scm \
\
language/scheme/spec.scm \