Tue May 22 08:20:08 PDT 2007  Michael D. Adams <[EMAIL PROTECTED]>
  * Make CmmProc take CmmFormals as argument
  
  Since a CmmCall returns CmmFormals which may include
  global registers (and indeed one place in the code
  returns the results of a CmmCall into BaseReg) and
  since CPS conversion will change those return slots
  into formal arguments for the continuation of the call,
  CmmProc has to have CmmFormals for the formal arguments.
  
  Oddly, the old code never made use of procedure arguments
  so this change only effects the types and not any of the code.
  (Because [] is both of type [LocalReg] and CmmFormals.)

    M ./compiler/cmm/Cmm.hs -3 +3
    M ./compiler/cmm/PprCmm.hs -1 +4
    M ./compiler/codeGen/CgInfoTbls.hs -2 +2
    M ./compiler/codeGen/CgMonad.lhs -1 +1

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to