patch applied (ghc): Added stack checks to the CPS algorithm

Simon Marlow simonmar at microsoft.com
Tue Jul 3 10:43:58 EDT 2007


Wed Jun 27 08:15:03 PDT 2007  Michael D. Adams <t-madams at microsoft.com>
  * Added stack checks to the CPS algorithm
  
  This eliminates one of the panics introduced by 
  the previous patch:
  'First pass at implementing info tables for CPS'
    
  The other panic introduced by that patch still remains.
  It was due to the need to convert from a
    ContinuationInfo to a CmmInfo.
    (codeGen/CgInfoTbls.hs:emitClosureCodeAndInfoTable)
    (codeGen/CgInfoTbls.hs:emitReturnTarget)

    M ./compiler/cmm/Cmm.hs -1 +8
    M ./compiler/cmm/CmmCPS.hs -21 +70
    M ./compiler/cmm/CmmInfo.hs -2 +15
    M ./compiler/cmm/CmmParse.y -21 +56
    M ./compiler/cmm/CmmProcPoint.hs -1 +2
    M ./compiler/cmm/PprCmm.hs -2 +7
    M ./compiler/codeGen/CgMonad.lhs -1 +1



More information about the Cvs-ghc mailing list