patch applied (ghc): Two things to do with -dsuppress-uniques

Simon Peyton Jones simonpj at microsoft.com
Thu Mar 4 08:04:37 EST 2010


Thu Mar  4 04:38:22 PST 2010  simonpj at microsoft.com
  * Two things to do with -dsuppress-uniques
  
  a) Even with -dsuppress-uniques, don't suppress them when outputing
     code, else the assembler falls over bleating
  
  b) Do suppress uniques in names generated by TH.  It's a bit grungy
     to do this: see Note [Suppressing uniques in OccNames].  But
     it's only needed for test de-wobblification so the grunge isn't
     really important.

    M ./compiler/basicTypes/OccName.lhs -4 +19
    M ./compiler/basicTypes/Unique.lhs -4 +4

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20100304123822-1287e-a9cb4922e59fc10e394bff8c7008cf2a5fad1768.gz



More information about the Cvs-ghc mailing list