1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

(scm_cell, scm_double_cell): Do not check scm_gc_running_p, allocation

during sweeping is OK.
This commit is contained in:
Marius Vollmer 2005-03-10 18:08:12 +00:00
parent 1a8fdd7e12
commit 94d375b5a7

View file

@ -69,11 +69,6 @@ scm_cell (scm_t_bits car, scm_t_bits cdr)
SCM z;
SCM *freelist = SCM_FREELIST_LOC (scm_i_freelist);
if (scm_gc_running_p)
{
abort();
}
if (scm_is_null (*freelist))
z = scm_gc_for_newcell (&scm_i_master_freelist, freelist);
else
@ -151,11 +146,6 @@ scm_double_cell (scm_t_bits car, scm_t_bits cbr,
SCM z;
SCM *freelist = SCM_FREELIST_LOC (scm_i_freelist2);
if (scm_gc_running_p)
{
abort();
}
if (scm_is_null (*freelist))
z = scm_gc_for_newcell (&scm_i_master_freelist2, freelist);
else