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:
parent
ec2667f0cf
commit
8a3e715b20
2 changed files with 7 additions and 0 deletions
|
@ -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>
|
2001-08-18 Neil Jerram <neil@ossau.uklinux.net>
|
||||||
|
|
||||||
* __scm.h (SCM_ENABLE_VCELLS): Fix spelling mistake in comment.
|
* __scm.h (SCM_ENABLE_VCELLS): Fix spelling mistake in comment.
|
||||||
|
|
|
@ -1793,6 +1793,8 @@ scm_gc_sweep ()
|
||||||
m += SCM_SYMBOL_LENGTH (scmptr) + 1;
|
m += SCM_SYMBOL_LENGTH (scmptr) + 1;
|
||||||
scm_must_free (SCM_SYMBOL_CHARS (scmptr));
|
scm_must_free (SCM_SYMBOL_CHARS (scmptr));
|
||||||
break;
|
break;
|
||||||
|
case scm_tc7_variable:
|
||||||
|
break;
|
||||||
case scm_tcs_subrs:
|
case scm_tcs_subrs:
|
||||||
/* the various "subrs" (primitives) are never freed */
|
/* the various "subrs" (primitives) are never freed */
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue