Import Upstream version 20180207
[hcoop/debian/mlton.git] / runtime / gc / debug.h
1 /* Copyright (C) 1999-2007 Henry Cejtin, Matthew Fluet, Suresh
2 * Jagannathan, and Stephen Weeks.
3 * Copyright (C) 1997-2000 NEC Research Institute.
4 *
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
7 */
8
9 #ifndef DEBUG
10 #define DEBUG FALSE
11 #endif
12
13 enum {
14 DEBUG_ARRAY = FALSE,
15 DEBUG_CALL_STACK = FALSE,
16 DEBUG_CARD_MARKING = FALSE,
17 DEBUG_DETAILED = FALSE,
18 DEBUG_DFS_MARK = FALSE,
19 DEBUG_ENTER_LEAVE = FALSE,
20 DEBUG_GENERATIONAL = FALSE,
21 DEBUG_INT_INF = FALSE,
22 DEBUG_INT_INF_DETAILED = FALSE,
23 DEBUG_MARK_COMPACT = FALSE,
24 DEBUG_MEM = FALSE,
25 DEBUG_OBJPTR = FALSE,
26 DEBUG_PROFILE = FALSE,
27 DEBUG_RESIZING = FALSE,
28 DEBUG_SHARE = FALSE,
29 DEBUG_SIGNALS = FALSE,
30 DEBUG_SIZE = FALSE,
31 DEBUG_SOURCES = FALSE,
32 DEBUG_STACKS = FALSE,
33 DEBUG_THREADS = FALSE,
34 DEBUG_WEAK = FALSE,
35 DEBUG_WORLD = FALSE,
36 FORCE_GENERATIONAL = FALSE,
37 FORCE_MARK_COMPACT = FALSE,
38 };