summaryrefslogtreecommitdiff
path: root/compiler/utils/Binary.hs
diff options
context:
space:
mode:
authorJan Stolarek <jan.stolarek@p.lodz.pl>2013-09-16 15:04:57 +0100
committerJan Stolarek <jan.stolarek@p.lodz.pl>2013-09-18 14:48:10 +0100
commit53948f915140396acd1b80c6a7a252b2d1e12635 (patch)
tree0bc106c0e288ad76fb4835aa15d0f8e34b62055b /compiler/utils/Binary.hs
parent6eec7bc5b1e541705911a617f82501fe59319996 (diff)
downloadhaskell-53948f915140396acd1b80c6a7a252b2d1e12635.tar.gz
Restore old names of comparison primops
In 6579a6c we removed existing comparison primops and introduced new ones returning Int# instead of Bool. This commit (and associated commits in array, base, dph, ghc-prim, integer-gmp, integer-simple, primitive, testsuite and template-haskell) restores old names of primops. This allows us to keep our API cleaner at the price of not having backwards compatibility. This patch also temporalily disables fix for #8317 (optimization of tagToEnum# at Core level). We need to fix #8326 first, otherwise our primops code will be very slow.
Diffstat (limited to 'compiler/utils/Binary.hs')
-rw-r--r--compiler/utils/Binary.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/utils/Binary.hs b/compiler/utils/Binary.hs
index f02624533e..332bfc8e0c 100644
--- a/compiler/utils/Binary.hs
+++ b/compiler/utils/Binary.hs
@@ -86,7 +86,7 @@ import System.IO as IO
import System.IO.Unsafe ( unsafeInterleaveIO )
import System.IO.Error ( mkIOError, eofErrorType )
import GHC.Real ( Ratio(..) )
-import GHC.Exts
+import ExtsCompat46
import GHC.Word ( Word8(..) )
import GHC.IO ( IO(..) )