summaryrefslogtreecommitdiff
path: root/compiler/cmm/Hoopl
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/cmm/Hoopl')
-rw-r--r--compiler/cmm/Hoopl/Block.hs1
-rw-r--r--compiler/cmm/Hoopl/Collections.hs2
-rw-r--r--compiler/cmm/Hoopl/Dataflow.hs2
-rw-r--r--compiler/cmm/Hoopl/Graph.hs2
-rw-r--r--compiler/cmm/Hoopl/Label.hs2
-rw-r--r--compiler/cmm/Hoopl/Unique.hs2
6 files changed, 11 insertions, 0 deletions
diff --git a/compiler/cmm/Hoopl/Block.hs b/compiler/cmm/Hoopl/Block.hs
index 3623fcd242..c4ff1794e8 100644
--- a/compiler/cmm/Hoopl/Block.hs
+++ b/compiler/cmm/Hoopl/Block.hs
@@ -33,6 +33,7 @@ module Hoopl.Block
, replaceLastNode
) where
+import GhcPrelude
-- -----------------------------------------------------------------------------
-- Shapes: Open and Closed
diff --git a/compiler/cmm/Hoopl/Collections.hs b/compiler/cmm/Hoopl/Collections.hs
index 679057626b..be28849b60 100644
--- a/compiler/cmm/Hoopl/Collections.hs
+++ b/compiler/cmm/Hoopl/Collections.hs
@@ -6,6 +6,8 @@ module Hoopl.Collections
, mapInsertList, mapDeleteList, mapUnions
) where
+import GhcPrelude
+
import Data.List (foldl', foldl1')
class IsSet set where
diff --git a/compiler/cmm/Hoopl/Dataflow.hs b/compiler/cmm/Hoopl/Dataflow.hs
index c2ace502b3..b2a7716c62 100644
--- a/compiler/cmm/Hoopl/Dataflow.hs
+++ b/compiler/cmm/Hoopl/Dataflow.hs
@@ -33,6 +33,8 @@ module Hoopl.Dataflow
)
where
+import GhcPrelude
+
import Cmm
import UniqSupply
diff --git a/compiler/cmm/Hoopl/Graph.hs b/compiler/cmm/Hoopl/Graph.hs
index 87da072458..9a492d6279 100644
--- a/compiler/cmm/Hoopl/Graph.hs
+++ b/compiler/cmm/Hoopl/Graph.hs
@@ -18,6 +18,8 @@ module Hoopl.Graph
) where
+import GhcPrelude
+
import Hoopl.Label
import Hoopl.Block
import Hoopl.Collections
diff --git a/compiler/cmm/Hoopl/Label.hs b/compiler/cmm/Hoopl/Label.hs
index 5ee4f72fc3..e28f92b6b9 100644
--- a/compiler/cmm/Hoopl/Label.hs
+++ b/compiler/cmm/Hoopl/Label.hs
@@ -11,6 +11,8 @@ module Hoopl.Label
, uniqueToLbl
) where
+import GhcPrelude
+
import Outputable
import Hoopl.Collections
diff --git a/compiler/cmm/Hoopl/Unique.hs b/compiler/cmm/Hoopl/Unique.hs
index f27961bb28..f6fff985e2 100644
--- a/compiler/cmm/Hoopl/Unique.hs
+++ b/compiler/cmm/Hoopl/Unique.hs
@@ -9,6 +9,8 @@ module Hoopl.Unique
, intToUnique
) where
+import GhcPrelude
+
import qualified Data.IntMap as M
import qualified Data.IntSet as S