summaryrefslogtreecommitdiff
path: root/thread_local_alloc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-09-28 13:48:17 +0400
committerIvan Maidanski <ivmai@mail.ru>2011-09-30 17:35:35 +0400
commit56c8a56f2735b5a2ab50bedbd61a8d5832125265 (patch)
treef518a4cd92cb0efed553734c3a62dd74a2b22135 /thread_local_alloc.c
parenta60d2568b1a2c657c49ee2852cbed2f57568dbfa (diff)
downloadbdwgc-56c8a56f2735b5a2ab50bedbd61a8d5832125265.tar.gz
Review 'disclaim' add-on partially; fix code in some places again
Diffstat (limited to 'thread_local_alloc.c')
-rw-r--r--thread_local_alloc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/thread_local_alloc.c b/thread_local_alloc.c
index 6122c885..2c76ad7e 100644
--- a/thread_local_alloc.c
+++ b/thread_local_alloc.c
@@ -32,6 +32,12 @@ GC_key_t GC_thread_key;
static GC_bool keys_initialized;
+#ifdef ENABLE_DISCLAIM
+ GC_INNER ptr_t * GC_finalized_objfreelist = NULL;
+ /* This variable is declared here to prevent linking of */
+ /* finalized_mlc module unless the client uses the latter one. */
+#endif
+
/* Return a single nonempty freelist fl to the global one pointed to */
/* by gfl. */