simonpj     2003/07/02 06:19:30 PDT

  Modified files:
    ghc/compiler/codeGen CgExpr.lhs CgLetNoEscape.lhs 
  Log:
  Fixes two minor bugs that I came across in the old
  CgCase code generation:
  
  1. We were generating
        tmp = Sp[1]
        ... more uses of Sp[1]....
  instead of
        tmp = Sp[1]
        ... more uses of tmp....
  in the (case v of ...prim alts...) situation
  
  2. The cost-centre restoration wasn't right for let-no-escapes
  
  I kept this fix separate, becuase it does change the code generated
  slightly.
  
  Revision  Changes    Path
  1.56      +2 -2      fptools/ghc/compiler/codeGen/CgExpr.lhs
  1.22      +2 -3      fptools/ghc/compiler/codeGen/CgLetNoEscape.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to