patch applied (ghc): Improved VectInfo

chak at cse.unsw.edu.au chak at cse.unsw.edu.au
Tue May 8 04:32:57 EDT 2007


Tue May  8 01:06:09 PDT 2007  Manuel M T Chakravarty <chak at cse.unsw.edu.au>
  * Improved VectInfo
  - We need to keep pairs of (f, f_CC) in VectInfo as it is difficult
    to obtain Names from OccNames (of imported modules) in Core passes.
  - There is a choice of keeping Names or Vars in VectInfo.  We go with Vars
    for now; mainly to avoid converting between Names and Vars repeatedly for
    the same VectInfo in other than one-shot mode.
  
    Again goes to the HEAD straight away to avoid conflicts down the road.

    M ./compiler/iface/LoadIface.lhs -6 +8
    M ./compiler/iface/MkIface.lhs -1 +4
    M ./compiler/iface/TcIface.hi-boot-6 +1
    M ./compiler/iface/TcIface.lhs -5 +33
    M ./compiler/iface/TcIface.lhs-boot +3
    M ./compiler/main/HscTypes.lhs -9 +22
    M ./compiler/main/TidyPgm.lhs -13 +2



More information about the Cvs-ghc mailing list