From a08759d165ca1a0cfe9ada26f6ea6b9a38ad8853 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 17 May 2013 16:50:08 +0100 Subject: 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. --- compiler/cbits/genSym.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 compiler/cbits/genSym.c (limited to 'compiler/cbits') diff --git a/compiler/cbits/genSym.c b/compiler/cbits/genSym.c new file mode 100644 index 0000000000..2d9779b898 --- /dev/null +++ b/compiler/cbits/genSym.c @@ -0,0 +1,9 @@ + +#include "Rts.h" + +static HsInt GenSymCounter = 0; + +HsInt genSym(void) { + return GenSymCounter++; +} + -- cgit v1.2.1