diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2022-10-07 09:32:21 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2022-10-11 09:08:00 +0300 |
commit | 20a94399951f3f0aa27ce885c3ca2163dba47803 (patch) | |
tree | c72e462705b597ce2d1c61948be3c9eaf1f43f6d /fnlz_mlc.c | |
parent | c8b6c7a48f158c27e6bbde0c8c98380d3e700c2e (diff) | |
download | bdwgc-20a94399951f3f0aa27ce885c3ca2163dba47803.tar.gz |
Include gc_inline.h from gc_priv.h
(refactoring)
Also, use EXPECT(FALSE) for GC_ASSERT.
* extra/gc.c: Do not include gc_inline.h.
* fnlz_mlc.c [ENABLE_DISCLAIM]: Likewise.
* include/private/thread_local_alloc.h [THREAD_LOCAL_ALLOC]: Likewise.
* malloc.c: Likewise.
* mallocx.c: Likewise.
* pthread_support.c: Likewise.
* reclaim.c: Likewise.
* typd_mlc.c: Likewise.
* include/private/gc_priv.h: Move GC_ASSERT definition upper; include
gc_inline.h (after GC_ASSERT); define PTRFREE and NORMAL to
GC_I_PTRFREE and GC_I_NORMAL, respectively.
* include/private/gc_priv.h [GC_ASSERTIONS] (GC_ASSERT): Use EXPECT().
Diffstat (limited to 'fnlz_mlc.c')
-rw-r--r-- | fnlz_mlc.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -17,7 +17,6 @@ #ifdef ENABLE_DISCLAIM #include "gc/gc_disclaim.h" -#include "gc/gc_inline.h" /* for GC_malloc_kind */ #include "private/dbg_mlc.h" /* for oh type */ #if defined(KEEP_BACK_PTRS) || defined(MAKE_BACK_GRAPH) |