diff --git a/ghc/compiler/basicTypes/UniqSupply.lhs b/ghc/compiler/basicTypes/UniqSupply.lhs index ba06f24253eed453d67c1e2b92eea0c7519ecc96..4b8a7564f7c5f6f1ada17f766ff64129de7969ac 100644 --- a/ghc/compiler/basicTypes/UniqSupply.lhs +++ b/ghc/compiler/basicTypes/UniqSupply.lhs @@ -86,7 +86,7 @@ mkSplitUniqSupply (C# c#) return (MkSplitUniqSupply uniq s1 s2) ) - mk_unique = _ccall_ genSymzh >>= \ (W# u#) -> + mk_unique = _ccall_ genSymZh >>= \ (W# u#) -> return (I# (w2i (mask# `or#` u#))) in mk_supply# diff --git a/ghc/rts/RtsUtils.c b/ghc/rts/RtsUtils.c index 436195234409ea0414b8152b78ecdb46a2c87441..b9f2ff9660421e5b7b438e3e4f1af2c64383fa97 100644 --- a/ghc/rts/RtsUtils.c +++ b/ghc/rts/RtsUtils.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: RtsUtils.c,v 1.4 1999/01/27 14:51:21 simonpj Exp $ + * $Id: RtsUtils.c,v 1.5 1999/01/29 09:30:51 simonm Exp $ * * General utility functions used in the RTS. * @@ -160,12 +160,12 @@ nat stg_strlen(char *s) I_ __GenSymCounter = 0; I_ -genSymzh(void) +genSymZh(void) { return(__GenSymCounter++); } I_ -resetGenSymzh(void) /* it's your funeral */ +resetGenSymZh(void) /* it's your funeral */ { __GenSymCounter=0; return(__GenSymCounter);