simonpj     2003/07/02 06:18:26 PDT

  Modified files:
    ghc/compiler/codeGen CgCase.lhs CgExpr.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.64      +2 -4      fptools/ghc/compiler/codeGen/CgCase.lhs
  1.55      +1 -6      fptools/ghc/compiler/codeGen/CgExpr.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to