core: gc: Abort upon broken heart failure.
* src/gc.c (gc_cellcpy, gc_loop): Abort upon broken heart failure.
This commit is contained in:
parent
20595cd044
commit
3f368e29e1
18
src/gc.c
18
src/gc.c
|
@ -424,14 +424,7 @@ gc_cellcpy (struct scm *dest, struct scm *src, size_t n)
|
|||
long d = src->cdr;
|
||||
dest->type = t;
|
||||
if (t == TBROKEN_HEART)
|
||||
{
|
||||
dest->type = 0;
|
||||
a = 0;
|
||||
d = 0;
|
||||
#if 0
|
||||
assert_msg (0, "gc_cellcpy: broken heart");
|
||||
#endif
|
||||
}
|
||||
assert_msg (0, "gc_cellcpy: broken heart");
|
||||
if (t == TMACRO
|
||||
|| t == TPAIR
|
||||
|| t == TREF
|
||||
|
@ -606,14 +599,7 @@ gc_loop (SCM scan)
|
|||
{
|
||||
long t = NTYPE (scan);
|
||||
if (t == TBROKEN_HEART)
|
||||
{
|
||||
NTYPE (scan) = 0;
|
||||
NCAR (scan) = 0;
|
||||
NCDR (scan) = 0;
|
||||
#if 0
|
||||
assert_msg (0, "gc_loop: broken heart");
|
||||
#endif
|
||||
}
|
||||
assert_msg (0, "gc_loop: broken heart");
|
||||
/* *INDENT-OFF* */
|
||||
if (t == TMACRO
|
||||
|| t == TPAIR
|
||||
|
|
Loading…
Reference in a new issue