Follow hs_popcntX changes in ghc-prim
authorJohan Tibell <johan.tibell@gmail.com>
Sat, 22 Mar 2014 17:29:29 +0000 (18:29 +0100)
committerJohan Tibell <johan.tibell@gmail.com>
Sat, 22 Mar 2014 17:35:36 +0000 (18:35 +0100)
includes/stg/Prim.h

index 2b23c3d..7d94d18 100644 (file)
@@ -22,14 +22,14 @@ StgWord64 hs_bswap64(StgWord64 x);
 /* TODO: longlong.c */
 
 /* libraries/ghc-prim/cbits/popcnt.c */
-StgWord hs_popcnt8(StgWord8 x);
-StgWord hs_popcnt16(StgWord16 x);
-StgWord hs_popcnt32(StgWord32 x);
+StgWord hs_popcnt8(StgWord x);
+StgWord hs_popcnt16(StgWord x);
+StgWord hs_popcnt32(StgWord x);
 StgWord hs_popcnt64(StgWord64 x);
 #ifdef i386_HOST_ARCH
-StgWord hs_popcnt(StgWord32 x);
+StgWord hs_popcnt(StgWord x);
 #else
-StgWord hs_popcnt(StgWord64 x);
+StgWord hs_popcnt(StgWord x);
 #endif
 
 /* libraries/ghc-prim/cbits/word2float.c */