• Michael D. Adams's avatar
    Added stack checks to the CPS algorithm · 1f46671f
    Michael D. Adams authored
    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)
    1f46671f
CmmCPS.hs 22.9 KB