summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Tibell <johan.tibell@gmail.com>2014-03-22 18:29:29 +0100
committerJohan Tibell <johan.tibell@gmail.com>2014-03-22 18:35:36 +0100
commit1a63f17f19a6c83980efe453966eac1cf441b277 (patch)
tree31bb3b7820655af8c36a6c687a6b6867dd3aaa1d
parent4bc3c8265f988f4456664f502164f52466aab67d (diff)
downloadhaskell-1a63f17f19a6c83980efe453966eac1cf441b277.tar.gz
Follow hs_popcntX changes in ghc-prim
-rw-r--r--includes/stg/Prim.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/stg/Prim.h b/includes/stg/Prim.h
index 2b23c3d4c7..7d94d1846d 100644
--- a/includes/stg/Prim.h
+++ b/includes/stg/Prim.h
@@ -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 */