mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 09:10:22 +02:00
Clean up some uses of old GC macros that don't exist any more.
* libguile/deprecated.h (SCM_GC8MARKP, SCM_SETGC8MARK, SCM_CLRGC8MARK): Delete. * libguile/gc.c (scm_assert_cell_valid): Remove check of SCM_GC_MARK_P.
This commit is contained in:
parent
9515ef7237
commit
b4246e5b22
2 changed files with 1 additions and 15 deletions
|
@ -146,18 +146,7 @@ scm_assert_cell_valid (SCM cell)
|
|||
*/
|
||||
if (scm_expensive_debug_cell_accesses_p)
|
||||
scm_i_expensive_validation_check (cell);
|
||||
#if (SCM_DEBUG_MARKING_API == 0)
|
||||
if (!SCM_GC_MARK_P (cell))
|
||||
{
|
||||
fprintf (stderr,
|
||||
"scm_assert_cell_valid: this object is unmarked. \n"
|
||||
"It has been garbage-collected in the last GC run: "
|
||||
"%lux\n",
|
||||
(unsigned long) SCM_UNPACK (cell));
|
||||
abort ();
|
||||
}
|
||||
#endif /* SCM_DEBUG_MARKING_API */
|
||||
|
||||
|
||||
scm_i_cell_validation_already_running = 0; /* re-enable */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue