Use GHC.Exts rather than GHC.Prim
authorIan Lynagh <igloo@earth.li>
Sun, 2 Dec 2007 23:42:22 +0000 (23:42 +0000)
committerIan Lynagh <igloo@earth.li>
Sun, 2 Dec 2007 23:42:22 +0000 (23:42 +0000)
compiler/cmm/OptimizationFuel.hs
compiler/ghci/ByteCodeInstr.lhs
compiler/ghci/ByteCodeItbls.lhs
compiler/main/BreakArray.hs

index c15bd4d..49f8b05 100644 (file)
@@ -11,7 +11,7 @@ module OptimizationFuel
     )
 where
 
-import GHC.Prim
+import GHC.Exts (State#)
 import Panic
 
 import Data.IORef
index 50dbec1..d5e5e8e 100644 (file)
@@ -37,7 +37,7 @@ import SMRep
 import GHC.Ptr
 
 import Module (Module)
-import GHC.Prim
+import GHC.Exts
 
 
 -- ----------------------------------------------------------------------------
index 3d1e151..a05cfc1 100644 (file)
@@ -38,7 +38,6 @@ import Data.Bits      ( Bits(..), shiftR )
 
 import GHC.Exts                ( Int(I#), addr2Int# )
 import GHC.Ptr         ( Ptr(..) )
-import GHC.Prim
 
 import Debug.Trace
 import Text.Printf
index 364a917..8d86582 100644 (file)
@@ -26,7 +26,6 @@ module BreakArray
 
 import GHC.Exts
 import GHC.IOBase
-import GHC.Prim
 import GHC.Word
 import Constants