From: sof Date: Sat, 15 Aug 1998 17:58:14 +0000 (+0000) Subject: [project @ 1998-08-15 17:56:59 by sof] X-Git-Tag: Approx_2487_patches~331 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=47488950fa9d8930b1fd1cf83fc20940b6d31532;p=ghc-hetmet.git [project @ 1998-08-15 17:56:59 by sof] use shiftRL# instead of shiftRA#, since the latter primop is no more. --- diff --git a/ghc/compiler/basicTypes/Unique.lhs b/ghc/compiler/basicTypes/Unique.lhs index 07116c7..638f888 100644 --- a/ghc/compiler/basicTypes/Unique.lhs +++ b/ghc/compiler/basicTypes/Unique.lhs @@ -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} diff --git a/ghc/compiler/utils/UniqFM.lhs b/ghc/compiler/utils/UniqFM.lhs index 64ceff4..2d78944 100644 --- a/ghc/compiler/utils/UniqFM.lhs +++ b/ghc/compiler/utils/UniqFM.lhs @@ -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)