[project @ 1998-08-15 17:56:59 by sof]
authorsof <unknown>
Sat, 15 Aug 1998 17:58:14 +0000 (17:58 +0000)
committersof <unknown>
Sat, 15 Aug 1998 17:58:14 +0000 (17:58 +0000)
use shiftRL# instead of shiftRA#, since the latter primop is no more.

ghc/compiler/basicTypes/Unique.lhs
ghc/compiler/utils/UniqFM.lhs

index 07116c7..638f888 100644 (file)
@@ -313,7 +313,7 @@ unpkUnique (MkUnique u)
     in
     (tag, i)
   where
-    shiftr x y = shiftRA# x y
+    shiftr x y = shiftRL# x y
 \end{code}
 
 
index 64ceff4..2d78944 100644 (file)
@@ -799,7 +799,7 @@ shiftR_ :: FAST_INT -> FAST_INT -> FAST_INT
 shiftL_ n p = word2Int#((int2Word# n) `shiftL#` p)
 shiftR_ n p = word2Int#((int2Word# n) `shiftr` p)
   where
-    shiftr x y = shiftRA# x y
+    shiftr x y = shiftRL# x y
 
 #else {- not GHC -}
 shiftL_ n p = n * (2 ^ p)