diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/cbits/genSym.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/cbits/genSym.c b/compiler/cbits/genSym.c index eed2b4f142..19697de25e 100644 --- a/compiler/cbits/genSym.c +++ b/compiler/cbits/genSym.c @@ -16,9 +16,7 @@ HsInt ghc_unique_inc = 1; HsInt genSym(void) { HsInt u = atomic_inc((StgWord *)&ghc_unique_counter, ghc_unique_inc) & UNIQUE_MASK; -#if DEBUG // Uh oh! We will overflow next time a unique is requested. - assert(u != UNIQUE_MASK); -#endif + ASSERT(u != UNIQUE_MASK); return u; } |