Make dumpIfSet_dyn_or use dumpSDoc
[ghc-hetmet.git] / compiler / utils / FastFunctions.lhs
index 5d8ff23..5496ed0 100644 (file)
@@ -12,7 +12,6 @@ module FastFunctions (
     global, Global
   ) where
 
-#define COMPILING_FAST_STRING
 #include "HsVersions.h"
 
 import FastTypes
@@ -23,18 +22,9 @@ import System.IO.Unsafe
 
 import GHC.Exts
 import GHC.Word
-import GHC.IOBase (IO(..))
---why not import it at __GLASGOW_HASKELL__==606 ?
-#if __GLASGOW_HASKELL__ >= 607
-import GHC.IOBase (unsafeDupableInterleaveIO)
-#endif
+import GHC.IO (IO(..), unsafeDupableInterleaveIO)
 import GHC.Base (unsafeChr)
 
-#if __GLASGOW_HASKELL__ < 607
-unsafeDupableInterleaveIO :: IO a -> IO a
-unsafeDupableInterleaveIO = unsafeInterleaveIO
-#endif
-
 -- Just like unsafePerformIO, but we inline it.
 {-# INLINE inlinePerformIO #-}
 inlinePerformIO :: IO a -> a