1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-02 18:26:20 +02:00
guile/testsuite
Andy Wingo 6297d22907 bind all module-level variables lazily
comments in ghil-lookup are pertinent.

* module/system/il/compile.scm (make-glil-var): Require that ghil vars
  have environments. Remove the 'unresolved case -- we'll treat all
  module-level variables as late bound.

* module/system/il/ghil.scm (ghil-lookup): Treat all module level vars as
  late bound.

* module/system/vm/assemble.scm: Instead of vlink and vlate-bound, have
  vlink-now and vlink-later.
  (codegen): Add a bunch of crap to get the various cases right.
  (object-assoc, dump-object!): Handle the new cases, remove the old
  cases.

* src/vm_loader.c (link-now, link-later): Change from link and lazy-bind.
  Include the module in which the link is to be done, so that callers
  from other modules get the right behavior.

* src/vm_system.c (late-variable-ref, late-variable-set): Instead of a
  sym, the unbound representation is a module name / symbol pair.

* testsuite/run-vm-tests.scm (run-vm-tests): Remove some debugging.
2008-05-19 19:37:39 +02:00
..
Makefile.am Add instructions for doing very late binding 2008-05-19 17:46:05 +02:00
run-vm-tests.scm bind all module-level variables lazily 2008-05-19 19:37:39 +02:00
t-basic-contructs.scm Encode the length of constant lists/vectors on 2 octets instead of 1. 2008-04-25 19:09:30 +02:00
t-closure.scm Fixed a Scheme translation bug; cleaned compilation with GCC 4. 2008-04-25 19:09:30 +02:00
t-closure2.scm Fixed a Scheme translation bug; cleaned compilation with GCC 4. 2008-04-25 19:09:30 +02:00
t-closure3.scm Fixed a Scheme translation bug; cleaned compilation with GCC 4. 2008-04-25 19:09:30 +02:00
t-do-loop.scm Fixed a Scheme translation bug; cleaned compilation with GCC 4. 2008-04-25 19:09:30 +02:00
t-global-bindings.scm * src/objcodes.c (make_objcode_by_mmap): Fixed the error type when the 2008-04-25 19:09:30 +02:00
t-macros.scm Added support for defmacro' and define-macro' in the compiler. 2008-04-25 19:09:30 +02:00
t-macros2.scm Added support for defmacro' and define-macro' in the compiler. 2008-04-25 19:09:30 +02:00
t-match.scm fix use-syntax / use-modules confusion -- fixes testsuites 2008-05-14 14:54:52 +02:00
t-mutual-toplevel-defines.scm Add instructions for doing very late binding 2008-05-19 17:46:05 +02:00
t-proc-with-setter.scm Fixed a Scheme translation bug; cleaned compilation with GCC 4. 2008-04-25 19:09:30 +02:00
t-records.scm fix use-syntax / use-modules confusion -- fixes testsuites 2008-05-14 14:54:52 +02:00
t-values.scm * src/objcodes.c (make_objcode_by_mmap): Fixed the error type when the 2008-04-25 19:09:30 +02:00
the-bug.txt * src/objcodes.c (make_objcode_by_mmap): Fixed the error type when the 2008-04-25 19:09:30 +02:00