mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
(scm_double_cell): abort if GC running.
(scm_cell): idem.
This commit is contained in:
parent
1097a62cd9
commit
497eb0b725
3 changed files with 15 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-10-08 Han-Wen Nienhuys <hanwen@xs4all.nl>
|
||||
|
||||
* inline.h (scm_double_cell): abort if GC running.
|
||||
(scm_cell): idem.
|
||||
|
||||
2004-10-04 Marius Vollmer <marius.vollmer@uni-dortmund.de>
|
||||
|
||||
* error.c (scm_wrong_type_arg): Do not talk about "argument" for
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
#endif
|
||||
|
||||
|
||||
|
||||
/* {Errors and Exceptional Conditions}
|
||||
*/
|
||||
|
||||
|
|
|
@ -63,6 +63,11 @@ SCM_C_INLINE
|
|||
SCM
|
||||
scm_cell (scm_t_bits car, scm_t_bits cdr)
|
||||
{
|
||||
if (scm_gc_running_p)
|
||||
{
|
||||
abort();
|
||||
}
|
||||
|
||||
SCM z;
|
||||
/* We retrieve the SCM pointer only once since the call to
|
||||
SCM_FREELIST_LOC will be slightly expensive when we support
|
||||
|
@ -161,6 +166,11 @@ SCM
|
|||
scm_double_cell (scm_t_bits car, scm_t_bits cbr,
|
||||
scm_t_bits ccr, scm_t_bits cdr)
|
||||
{
|
||||
if (scm_gc_running_p)
|
||||
{
|
||||
abort();
|
||||
}
|
||||
|
||||
SCM z;
|
||||
SCM *freelist = SCM_FREELIST_LOC (scm_i_freelist2);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue