summaryrefslogtreecommitdiff
path: root/rts/RtsStartup.c
diff options
context:
space:
mode:
authorAdam Sandberg Ericsson <adam@sandbergericsson.se>2020-05-03 18:47:20 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-12-20 20:45:55 -0500
commit35fa0786b6ded2420f0a07446c8e45bff9bb01e0 (patch)
tree6b2014ceee09be269379c28f3fa9110b6bd60eba /rts/RtsStartup.c
parent65721691ce9c4107d1cf84ad131bf167a9e42a7d (diff)
downloadhaskell-35fa0786b6ded2420f0a07446c8e45bff9bb01e0.tar.gz
rts: enable thread label table in all RTS flavours #17972
Diffstat (limited to 'rts/RtsStartup.c')
-rw-r--r--rts/RtsStartup.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/rts/RtsStartup.c b/rts/RtsStartup.c
index 107a74dc5b..79c830f96d 100644
--- a/rts/RtsStartup.c
+++ b/rts/RtsStartup.c
@@ -362,10 +362,8 @@ hs_init_ghc(int *argc, char **argv[], RtsConfig rts_config)
/* initialise file locking, if necessary */
initFileLocking();
-#if defined(DEBUG)
/* initialise thread label table (tso->char*) */
initThreadLabelTable();
-#endif
#if defined(PROFILING)
initProfiling();
@@ -544,10 +542,8 @@ hs_exit_(bool wait_foreign)
/* free the stable name table */
exitStableNameTable();
-#if defined(DEBUG)
/* free the thread label table */
freeThreadLabelTable();
-#endif
#if defined(PROFILING)
reportCCSProfiling();