1 /* ----------------------------------------------------------------------------
3 * (c) The GHC Team, 1998-2005
5 * Closure Type Constants: out here because the native code generator
6 * needs to get at them.
8 * -------------------------------------------------------------------------- */
10 #ifndef RTS_STORAGE_CLOSURETYPES_H
11 #define RTS_STORAGE_CLOSURETYPES_H
14 * WARNING WARNING WARNING
16 * If you add or delete any closure types, don't forget to update
17 * the closure flags table in rts/ClosureFlags.c.
20 /* Object tag 0 raises an internal error */
21 #define INVALID_OBJECT 0
28 #define CONSTR_STATIC 7
29 #define CONSTR_NOCAF_STATIC 8
43 #define THUNK_STATIC 22
44 #define THUNK_SELECTOR 23
57 #define UPDATE_FRAME 36
58 #define CATCH_FRAME 37
60 #define BLOCKING_QUEUE 39
65 #define MUT_ARR_PTRS_CLEAN 44
66 #define MUT_ARR_PTRS_DIRTY 45
67 #define MUT_ARR_PTRS_FROZEN0 46
68 #define MUT_ARR_PTRS_FROZEN 47
69 #define MUT_VAR_CLEAN 48
70 #define MUT_VAR_DIRTY 49
76 #define ATOMICALLY_FRAME 55
77 #define CATCH_RETRY_FRAME 56
78 #define CATCH_STM_FRAME 57
80 #define N_CLOSURE_TYPES 59
82 #endif /* RTS_STORAGE_CLOSURETYPES_H */