FIX #1282: 64-bit unchecked shifts are not exported from base
authorSimon Marlow <simonmar@microsoft.com>
Thu, 23 Aug 2007 13:50:33 +0000 (13:50 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Thu, 23 Aug 2007 13:50:33 +0000 (13:50 +0000)
commit3ce77a0160b7269972b98d81e8db4936047c1df6
tree200617f68f2645e2f09c8d60df1fe9ee49d5053e
parent0c685143cbdfcfc3964cf945f8df1b2f3cb0cef8
FIX #1282: 64-bit unchecked shifts are not exported from base
I've exported these functions from GHC.Exts.  They are still
implemented using the FFI underneath, though.

To avoid conditional exports, on a 64-bit build:

  uncheckedShiftL64# = uncheckShiftL#

(etc.) which has a different type than the 32-bit version of
uncheckedShiftL64#, but at least GHC.Exts exports the same names.
GHC/Exts.hs
GHC/Int.hs
GHC/Word.hs