Put RelaxedPolyRec in the cabal file rather than a pragma
[ghc-hetmet.git] / compiler / ghc.cabal.in
index 8571764..a59649e 100644 (file)
@@ -93,7 +93,7 @@ Library
                 ForeignFunctionInterface, EmptyDataDecls,
                 TypeSynonymInstances, MultiParamTypeClasses,
                 FlexibleInstances, Rank2Types, ScopedTypeVariables,
-                DeriveDataTypeable
+                DeriveDataTypeable, RelaxedPolyRec
 
     Include-Dirs: . parser utils
 
@@ -455,13 +455,34 @@ Library
         Exposed-Modules:
             AsmCodeGen
             MachCodeGen
-            MachInstrs
-            MachRegs
+            Regs
+            RegsBase
+            Instrs
+            RegAllocInfo
+            Alpha.Regs
+            Alpha.RegInfo
+            Alpha.Instr
+            X86.Regs
+            X86.RegInfo
+            X86.Instr
+            PPC.Regs
+            PPC.RegInfo
+            PPC.Instr
+            SPARC.Regs
+            SPARC.RegInfo
+            SPARC.Instr
             NCGMonad
             PositionIndependentCode
             PprMach
-            RegAllocColor
-            RegAllocInfo
+            RegAlloc.Liveness
+            RegAlloc.Graph.Main
+            RegAlloc.Graph.Stats
+            RegAlloc.Graph.ArchBase
+            RegAlloc.Graph.ArchX86
+            RegAlloc.Graph.Coalesce
+            RegAlloc.Graph.Spill
+            RegAlloc.Graph.SpillClean
+            RegAlloc.Graph.SpillCost
             RegAlloc.Linear.Main
             RegAlloc.Linear.JoinToTargets
             RegAlloc.Linear.State
@@ -472,14 +493,6 @@ Library
             RegAlloc.Linear.X86.FreeRegs
             RegAlloc.Linear.PPC.FreeRegs
             RegAlloc.Linear.SPARC.FreeRegs
-            RegAllocStats
-            RegArchBase
-            RegArchX86
-            RegCoalesce
-            RegLiveness
-            RegSpill
-            RegSpillClean
-            RegSpillCost
 
     if flag(ghci)
         Exposed-Modules: