Mercurial > hg > xemacs-beta
diff src/alloc.c @ 1276:beb703ae34fd
[xemacs-hg @ 2003-02-08 15:03:45 by michaels]
2003-02-07 Mike Sperber <mike@xemacs.org>
* alloc.c (GC_CHECK_NOT_FREE): Pull this out of USE_KKCC.
author | michaels |
---|---|
date | Sat, 08 Feb 2003 15:03:46 +0000 |
parents | de6cf052e10b |
children | f3437b56874d |
line wrap: on
line diff
--- a/src/alloc.c Sat Feb 08 02:29:55 2003 +0000 +++ b/src/alloc.c Sat Feb 08 15:03:46 2003 +0000 @@ -3125,6 +3125,10 @@ #endif /* defined (USE_KKCC) || defined (PDUMP) */ +#define GC_CHECK_NOT_FREE(lheader) \ + gc_checking_assert (LHEADER_IMPLEMENTATION (lheader)->basic_p || \ + ! ((struct lcrecord_header *) lheader)->free) + #ifdef USE_KKCC /* The following functions implement the new mark algorithm. They mark objects according to their descriptions. They @@ -3134,11 +3138,6 @@ const struct sized_memory_description *sdesc, int count); -#define GC_CHECK_NOT_FREE(lheader) \ - gc_checking_assert (LHEADER_IMPLEMENTATION (lheader)->basic_p || \ - ! ((struct lcrecord_header *) lheader)->free) - - #ifdef ERROR_CHECK_GC #define KKCC_DO_CHECK_FREE(obj, allow_free) \ do \