[project @ 2001-03-08 12:07:38 by simonpj]
-------------------- A major hygiene pass -------------------- 1. The main change here is to Move what was the "IdFlavour" out of IdInfo, and into the varDetails field of a Var It was a mess before, because the flavour was a permanent attribute of an Id, whereas the rest of the IdInfo was ephemeral. It's all much tidier now. Main places to look: Var.lhs Defn of VarDetails IdInfo.lhs Defn of GlobalIdDetails The main remaining infelicity is that SpecPragmaIds are right down in Var.lhs, which seems unduly built-in for such an ephemeral thing. But that is no worse than before. 2. Tidy up the HscMain story a little. Move mkModDetails from MkIface into CoreTidy (where it belongs more nicely) This was partly forced by (1) above, because I didn't want to make DictFun Ids into a separate kind of Id (which is how it was before). Not having them separate means we have to keep a list of them right through, rather than pull them out of the bindings at the end. 3. Add NameEnv as a separate module (to join NameSet). 4. Remove unnecessary {-# SOURCE #-} imports from FieldLabel.
Showing
- ghc/compiler/DEPEND-NOTES 4 additions, 4 deletionsghc/compiler/DEPEND-NOTES
- ghc/compiler/basicTypes/FieldLabel.lhs 2 additions, 3 deletionsghc/compiler/basicTypes/FieldLabel.lhs
- ghc/compiler/basicTypes/Id.lhs 72 additions, 86 deletionsghc/compiler/basicTypes/Id.lhs
- ghc/compiler/basicTypes/IdInfo.hi-boot 3 additions, 1 deletionghc/compiler/basicTypes/IdInfo.hi-boot
- ghc/compiler/basicTypes/IdInfo.hi-boot-5 3 additions, 1 deletionghc/compiler/basicTypes/IdInfo.hi-boot-5
- ghc/compiler/basicTypes/IdInfo.lhs 59 additions, 103 deletionsghc/compiler/basicTypes/IdInfo.lhs
- ghc/compiler/basicTypes/MkId.lhs 33 additions, 74 deletionsghc/compiler/basicTypes/MkId.lhs
- ghc/compiler/basicTypes/Name.lhs 1 addition, 57 deletionsghc/compiler/basicTypes/Name.lhs
- ghc/compiler/basicTypes/Var.lhs 136 additions, 45 deletionsghc/compiler/basicTypes/Var.lhs
- ghc/compiler/compMan/CompManager.lhs 2 additions, 2 deletionsghc/compiler/compMan/CompManager.lhs
- ghc/compiler/coreSyn/CoreFVs.lhs 1 addition, 26 deletionsghc/compiler/coreSyn/CoreFVs.lhs
- ghc/compiler/coreSyn/CoreLint.lhs 2 additions, 2 deletionsghc/compiler/coreSyn/CoreLint.lhs
- ghc/compiler/coreSyn/CoreSat.lhs 6 additions, 13 deletionsghc/compiler/coreSyn/CoreSat.lhs
- ghc/compiler/coreSyn/CoreTidy.lhs 120 additions, 35 deletionsghc/compiler/coreSyn/CoreTidy.lhs
- ghc/compiler/coreSyn/CoreUnfold.lhs 4 additions, 4 deletionsghc/compiler/coreSyn/CoreUnfold.lhs
- ghc/compiler/coreSyn/CoreUtils.lhs 5 additions, 5 deletionsghc/compiler/coreSyn/CoreUtils.lhs
- ghc/compiler/coreSyn/PprCore.lhs 11 additions, 6 deletionsghc/compiler/coreSyn/PprCore.lhs
- ghc/compiler/coreSyn/Subst.lhs 7 additions, 8 deletionsghc/compiler/coreSyn/Subst.lhs
- ghc/compiler/deSugar/Desugar.lhs 1 addition, 1 deletionghc/compiler/deSugar/Desugar.lhs
- ghc/compiler/deSugar/DsForeign.lhs 3 additions, 5 deletionsghc/compiler/deSugar/DsForeign.lhs
Loading
Please register or sign in to comment