summaryrefslogtreecommitdiff
path: root/compiler/GHC/Unit/Module/ModGuts.hs
diff options
context:
space:
mode:
authorJosh Meredith <joshmeredith2008@gmail.com>2023-04-24 18:00:18 +0000
committerJosh Meredith <joshmeredith2008@gmail.com>2023-05-04 10:39:38 +0000
commitddbb211eb3625cfbc8fe5a7f55fef1ee2cea34d8 (patch)
tree2993c44b4310fb66a5f5926dcfd10c876df5d4de /compiler/GHC/Unit/Module/ModGuts.hs
parent00a8a5ff9abf5bb1a0c2a9225c7bca5ec3bdf306 (diff)
downloadhaskell-wip/unitidset.tar.gz
Refactor `Set UnitId` to `UniqDSet UnitId` (#23335)wip/unitidset
Diffstat (limited to 'compiler/GHC/Unit/Module/ModGuts.hs')
-rw-r--r--compiler/GHC/Unit/Module/ModGuts.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/GHC/Unit/Module/ModGuts.hs b/compiler/GHC/Unit/Module/ModGuts.hs
index d54e836d71..00bbfca1b4 100644
--- a/compiler/GHC/Unit/Module/ModGuts.hs
+++ b/compiler/GHC/Unit/Module/ModGuts.hs
@@ -37,8 +37,6 @@ import GHC.Types.SourceFile ( HscSource(..), hscSourceToIsBoot )
import GHC.Types.SrcLoc
import GHC.Types.CostCentre
-import Data.Set (Set)
-
-- | A ModGuts is carried through the compiler, accumulating stuff as it goes
-- There is only one ModGuts at any time, the one for the module
@@ -137,7 +135,7 @@ data CgGuts
cg_ccs :: [CostCentre], -- List of cost centres used in bindings and rules
cg_foreign :: !ForeignStubs, -- ^ Foreign export stubs
cg_foreign_files :: ![(ForeignSrcLang, FilePath)],
- cg_dep_pkgs :: !(Set UnitId), -- ^ Dependent packages, used to
+ cg_dep_pkgs :: !UnitIdSet, -- ^ Dependent packages, used to
-- generate #includes for C code gen
cg_hpc_info :: !HpcInfo, -- ^ Program coverage tick box information
cg_modBreaks :: !(Maybe ModBreaks), -- ^ Module breakpoints