cvs commit: fptools/ghc/compiler/main HscMain.lhs fptools/ghc/compiler/ndpFlatten FlattenInfo.hs FlattenMonad.hs Flattening.hs TODO fptools/ghc/compiler/prelude PrelNames.lhs fptools/ghc/compiler/rename RnEnv.lhs fptools/ghc/compiler/simplCore SimplCore.lhs

Manuel Chakravarty chak@glass.cse.ogi.edu
Thu, 31 Jan 2002 05:33:05 -0800


chak        2002/01/31 05:33:05 PST

  Modified files:        (Branch: ghc-ndp-branch)
    ghc/compiler/main    HscMain.lhs 
    ghc/compiler/ndpFlatten FlattenMonad.hs Flattening.hs TODO 
    ghc/compiler/prelude PrelNames.lhs 
    ghc/compiler/rename  RnEnv.lhs 
    ghc/compiler/simplCore SimplCore.lhs 
  Added files:           (Branch: ghc-ndp-branch)
    ghc/compiler/ndpFlatten FlattenInfo.hs 
  Log:
  Fixes needed to get at the Ids that need to be pulled out of the hat during
  flattening:
  
  * Flattening has to be run from hscMain after all, as we need to get at the
    persistent compiler state before it is being zapped.
  
  * If flattening is switched on, we need `ubiquitousNames' to include the names
    that are assumed to be in the hat.  To avoid having to list them far away
    from the rest of the flattening story, they are exported by the new module
    FlattenInfo.
  
  Revision  Changes    Path
  1.136.2.4 +13 -2     fptools/ghc/compiler/main/HscMain.lhs
  1.1.2.11  +32 -28    fptools/ghc/compiler/ndpFlatten/Attic/FlattenMonad.hs
  1.1.2.21  +28 -19    fptools/ghc/compiler/ndpFlatten/Attic/Flattening.hs
  1.1.2.16  +24 -7     fptools/ghc/compiler/ndpFlatten/Attic/TODO
  1.38.2.9  +5 -1      fptools/ghc/compiler/prelude/PrelNames.lhs
  1.130.2.1 +5 -0      fptools/ghc/compiler/rename/RnEnv.lhs
  1.101.2.4 +3 -31     fptools/ghc/compiler/simplCore/SimplCore.lhs