summaryrefslogtreecommitdiff
path: root/rts/RtsUtils.c
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-05-17 16:50:08 +0100
committerIan Lynagh <ian@well-typed.com>2013-05-17 16:50:08 +0100
commita08759d165ca1a0cfe9ada26f6ea6b9a38ad8853 (patch)
tree2043ea39590b0780e4e9443be680108b3bc325f5 /rts/RtsUtils.c
parent8ed0bdab7e69bfec14b1de2d662349626f587119 (diff)
downloadhaskell-a08759d165ca1a0cfe9ada26f6ea6b9a38ad8853.tar.gz
Move the genSym stuff from rts into compiler
It's no longer used by Data.Unique, so there's no need to have it in rts any more.
Diffstat (limited to 'rts/RtsUtils.c')
-rw-r--r--rts/RtsUtils.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/rts/RtsUtils.c b/rts/RtsUtils.c
index fcbb757c05..cb9002c361 100644
--- a/rts/RtsUtils.c
+++ b/rts/RtsUtils.c
@@ -137,26 +137,6 @@ heapOverflow(void)
}
/* -----------------------------------------------------------------------------
- genSym stuff, used by GHC itself for its splitting unique supply.
-
- ToDo: put this somewhere sensible.
- ------------------------------------------------------------------------- */
-
-static HsInt __GenSymCounter = 0;
-
-HsInt
-genSymZh(void)
-{
- return(__GenSymCounter++);
-}
-HsInt
-resetGenSymZh(void) /* it's your funeral */
-{
- __GenSymCounter=0;
- return(__GenSymCounter);
-}
-
-/* -----------------------------------------------------------------------------
Get the current time as a string. Used in profiling reports.
-------------------------------------------------------------------------- */