push the module resolution info for variables down into glil
authorAndy Wingo <wingo@pobox.com>
Thu, 15 May 2008 11:03:10 +0000 (13:03 +0200)
committerAndy Wingo <wingo@pobox.com>
Thu, 15 May 2008 11:03:10 +0000 (13:03 +0200)
commit5e1cead4197736c1c4c9125b5e06625697249d5e
treeb312657009f455e713b64543ad4182cfb4733be1
parent10be70254b14b11b2937783eac11833cb631f518
push the module resolution info for variables down into glil

* module/system/il/compile.scm (make-glil-var): Make the :mod of the
  glil-var actually a guile module, not a ghil-env.

* module/system/il/ghil.scm (module-lookup, ghil-lookup): For module
  variables, encode the location where we found the variable in the
  ghil-var.
module/system/il/compile.scm
module/system/il/ghil.scm
module/system/vm/assemble.scm