1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-17 23:42:24 +02:00
guile/testsuite
Andy Wingo 46d2d6f80e allocate variables that are set! on the heap
* module/system/il/ghil.scm (ghil-lookup): So, it turns out this function
  needed to be split into three:
  (ghil-var-is-bound?, ghil-var-for-ref!, ghil-var-for-set!): The
  different facets of ghil-lookup. Amply commented in the source. The
  difference being that we now allocate variables that are set! on the
  heap, so that other continuations see their possibly-modified values.
  (force-heap-allocation!): New helper.

* testsuite/Makefile.am:
* testsuite/t-call-cc.scm: New test, that variables that are set! are
  allocated on the heap, so that subsequent modifications are still
  seen by the continuation. The test was distilled from test 7.3 in
  r5rs_pitfall.test.
2008-09-28 23:09:11 +02:00
..
Makefile.am allocate variables that are set! on the heap 2008-09-28 23:09:11 +02:00
run-vm-tests.scm build fixes 2008-08-07 13:29:15 +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-call-cc.scm allocate variables that are set! on the heap 2008-09-28 23:09:11 +02:00
t-catch.scm fix bug in compilation of and' and or'; more robust underflow detection. 2008-08-11 18:35:58 +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-map.scm fix bug in compilation of and' and or'; more robust underflow detection. 2008-08-11 18:35:58 +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-or.scm fix *another* bug in compiling `or'. incredible. 2008-09-13 14:19:20 +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-quasiquote.scm fix nested quasiquotes (yeepers) 2008-09-02 10:30:39 -07: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