1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

* gc.c (scm_gc_sweep): now can sweep unreachable variables (by

doing exactly nothing about them).  thanks Neil!
This commit is contained in:
Michael Livshin 2001-08-24 23:57:12 +00:00
parent ec2667f0cf
commit 8a3e715b20
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2001-08-25 Michael Livshin <mlivshin@bigfoot.com>
* gc.c (scm_gc_sweep): now can sweep unreachable variables (by
doing exactly nothing about them). thanks Neil!
2001-08-18 Neil Jerram <neil@ossau.uklinux.net>
* __scm.h (SCM_ENABLE_VCELLS): Fix spelling mistake in comment.

View file

@ -1793,6 +1793,8 @@ scm_gc_sweep ()
m += SCM_SYMBOL_LENGTH (scmptr) + 1;
scm_must_free (SCM_SYMBOL_CHARS (scmptr));
break;
case scm_tc7_variable:
break;
case scm_tcs_subrs:
/* the various "subrs" (primitives) are never freed */
continue;