summaryrefslogtreecommitdiff
path: root/includes/mkDerivedConstants.c
diff options
context:
space:
mode:
Diffstat (limited to 'includes/mkDerivedConstants.c')
-rw-r--r--includes/mkDerivedConstants.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/mkDerivedConstants.c b/includes/mkDerivedConstants.c
index 86bf63e5fd..558d709f94 100644
--- a/includes/mkDerivedConstants.c
+++ b/includes/mkDerivedConstants.c
@@ -697,6 +697,9 @@ main(int argc, char *argv[])
// Number of bits to shift a bitfield left by in an info table.
constantInt("bITMAP_BITS_SHIFT", BITMAP_BITS_SHIFT);
+ // Amount of pointer bits used for semi-tagging constructor closures
+ constantInt("tAG_BITS", TAG_BITS);
+
switch (mode) {
case Gen_Haskell_Type:
printf(" } deriving (Read, Show)\n");