fix immediate linkage, some other fixes to allow vm/ to compile
authorAndy Wingo <wingo@pobox.com>
Mon, 19 May 2008 19:29:18 +0000 (21:29 +0200)
committerAndy Wingo <wingo@pobox.com>
Mon, 19 May 2008 19:29:18 +0000 (21:29 +0200)
commit9246a48606cfb25ca7f016f862c9ad5a2197200b
treee2e2452726ba8fef1f63ffc69f80251512029385
parent6297d22907ef28d6dc059db3bbcd711d9b7c50a1
fix immediate linkage, some other fixes to allow vm/ to compile

* module/language/scheme/translate.scm (lookup-transformer): Allow for
  undefined variables when doing the transformation -- it's possible that
  they come from a module definition's forward declaration.

* module/system/repl/command.scm (import): Make into legal Scheme, caught
  by the compiler :-)

* module/system/vm/assemble.scm (<vlink-now>): Remove the module field.
  Immediate bindings will now always be relative to the current module.
  Fixes some mess about process-define-module not being defined when
  loading modules, probably because we destructively modified the
  ghil-env.
  (codegen, dump-object!): Don't dump a module name.

* src/vm_loader.c (link-now): Just use scm_lookup.
module/language/scheme/translate.scm
module/system/repl/command.scm
module/system/vm/assemble.scm
src/vm_loader.c