file: bchmmg.c
file: memmag.c
Define EMPTY_WEAK_CHAIN for use in terminating the weak chain rather
that EMPTY_LIST.
This allows purify.c, bchmmg.c and memmag.c to be shared by 7.4 and 8.0.
/* -*-C-*-
-$Id: memmag.c,v 9.63 1996/10/02 19:01:40 cph Exp $
+$Id: memmag.c,v 9.64 1997/07/15 21:34:36 adams Exp $
Copyright (c) 1987-96 Massachusetts Institute of Technology
ALIGN_FLOAT (Free);
SET_MEMTOP (Heap_Top - GC_Reserve);
- Weak_Chain = EMPTY_LIST;
+ Weak_Chain = EMPTY_WEAK_CHAIN;
return;
}
\f
Temp, * Old, * low_heap;
low_heap = Constant_Top;
- while (Weak_Chain != EMPTY_LIST)
+ while (Weak_Chain != EMPTY_WEAK_CHAIN)
{
Old_Weak_Cell = (OBJECT_ADDRESS (Weak_Chain));
Scan = (OBJECT_ADDRESS (*Old_Weak_Cell++));