summaryrefslogtreecommitdiff
path: root/rts/Globals.c
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-06-04 15:09:37 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-06-05 03:48:25 -0400
commit9a28680d2e23e7b25dd7254a439aea31dfae32d5 (patch)
treed6b41a447d8bfb5c907f5e278c7e5f1127c6c450 /rts/Globals.c
parent1713cbb038116c2d703238b47f78c4861232db8e (diff)
downloadhaskell-9a28680d2e23e7b25dd7254a439aea31dfae32d5.tar.gz
Put Unique related global variables in the RTS (#19940)
Diffstat (limited to 'rts/Globals.c')
-rw-r--r--rts/Globals.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/Globals.c b/rts/Globals.c
index 5569ee7910..848581e4d2 100644
--- a/rts/Globals.c
+++ b/rts/Globals.c
@@ -107,3 +107,6 @@ mkStoreAccessor(LibHSghcFastStringTable)
mkStoreAccessor(LibHSghcGlobalHasPprDebug)
mkStoreAccessor(LibHSghcGlobalHasNoDebugOutput)
mkStoreAccessor(LibHSghcGlobalHasNoStateHack)
+
+HsInt ghc_unique_counter = 0;
+HsInt ghc_unique_inc = 1;