trying to determine toplevel references

This commit is contained in:
Danny Yoo 2012-03-02 01:13:10 -05:00
parent cd7b8904f5
commit 07d569a66b

View File

@ -513,6 +513,10 @@
(ToplevelRef-depth exp)
(ToplevelRef-pos exp)))
empty-instruction-sequence)
(if (ToplevelRef-constant? exp)
(make-Comment (format "Constant toplevel ref: ~s"
(extract-static-knowledge exp cenv)))
empty-instruction-sequence)
(make-AssignImmediate
target
(make-EnvPrefixReference (ToplevelRef-depth exp)