Fri Sep  7 09:12:46 PDT 2007  Norman Ramsey <[EMAIL PROTECTED]>
  * a good deal of salutory renaming
  I've renamed a number of type and data constructors within Cmm so that
  the names used in the compiler may more closely reflect the C--
  specification 2.1.  I've done a bit of other renaming as well.
  Highlights:
  
    CmmFormal and CmmActual now bear a CmmKind (which for now is a
                                                MachHint as before)
    CmmFormals = [CmmFormal] and CmmActuals = [CmmActual]
    
    suitable changes have been made to both code and nonterminals in the
    Cmm parser (which is as yet untested)
  
    For reasons I don't understand, parts of the code generator use a
    sequence of 'formal parameters' with no C-- kinds.  For these we now
    have the types
      type CmmFormalWithoutKind   = LocalReg
      type CmmFormalsWithoutKinds = [CmmFormalWithoutKind]
  
    A great many appearances of (Tau, MachHint) have been simplified to
    the appropriate CmmFormal or CmmActual, though I'm sure there are
    more opportunities.
  
    Kind and its data constructors are now renamed to
       data GCKind = GCKindPtr | GCKindNonPtr 
    to avoid confusion with the Kind used in the type checker and with CmmKind.
  
  Finally, in a somewhat unrelated bit (and in honor of Simon PJ, who
  thought of the name), the Whalley/Davidson 'transaction limit' is now
  called 'OptimizationFuel' with the net effect that there are no longer
  two unrelated uses of the abbreviation 'tx'.
  
  

    M ./compiler/cmm/CLabel.hs r2
    M ./compiler/cmm/Cmm.hs -19 +14 r3
    M ./compiler/cmm/CmmBrokenBlock.hs r2
    M ./compiler/cmm/CmmCPS.hs r3
    M ./compiler/cmm/CmmCPSGen.hs r5
    M ./compiler/cmm/CmmCPSZ.hs r2
    M ./compiler/cmm/CmmCallConv.hs r2
    M ./compiler/cmm/CmmContFlowOpt.hs r2
    M ./compiler/cmm/CmmCvt.hs r2
    M ./compiler/cmm/CmmExpr.hs r5
    M ./compiler/cmm/CmmInfo.hs r5
    M ./compiler/cmm/CmmLint.hs r2
    M ./compiler/cmm/CmmLive.hs -4 +4 r2
    M ./compiler/cmm/CmmLiveZ.hs r2
    M ./compiler/cmm/CmmOpt.hs r2
    M ./compiler/cmm/CmmParse.y -52 +52 r6
    M ./compiler/cmm/CmmProcPoint.hs r2
    M ./compiler/cmm/CmmProcPointZ.hs r2
    M ./compiler/cmm/CmmSpillReload.hs -9 +32 r2
    M ./compiler/cmm/CmmTx.hs r2
    M ./compiler/cmm/CmmUtils.hs r5
    M ./compiler/cmm/CmmZipUtil.hs r2
    M ./compiler/cmm/DFMonad.hs -1 +1 r3
    M ./compiler/cmm/Dataflow.hs r2
    M ./compiler/cmm/MachOp.hs r2
    M ./compiler/cmm/MkZipCfg.hs r2
    M ./compiler/cmm/PprC.hs r2
    M ./compiler/cmm/PprCmm.hs r5
    M ./compiler/cmm/PprCmmZ.hs r2
    M ./compiler/cmm/StackColor.hs r2
    M ./compiler/cmm/StackPlacements.hs r2
    M ./compiler/cmm/ZipCfg.hs r2
    M ./compiler/cmm/ZipCfgCmm.hs r2
    M ./compiler/cmm/ZipDataflow.hs -3 +2 r5
    M ./compiler/codeGen/Bitmap.hs r2
    M ./compiler/codeGen/CgBindery.lhs r5
    M ./compiler/codeGen/CgCallConv.hs r2
    M ./compiler/codeGen/CgCase.lhs r2
    M ./compiler/codeGen/CgClosure.lhs r2
    M ./compiler/codeGen/CgCon.lhs r2
    M ./compiler/codeGen/CgExpr.lhs r2
    M ./compiler/codeGen/CgForeignCall.hs r5
    M ./compiler/codeGen/CgHeapery.lhs r2
    M ./compiler/codeGen/CgHpc.hs r2
    M ./compiler/codeGen/CgInfoTbls.hs r5
    M ./compiler/codeGen/CgLetNoEscape.lhs r2
    M ./compiler/codeGen/CgMonad.lhs r2
    M ./compiler/codeGen/CgParallel.hs r2
    M ./compiler/codeGen/CgPrimOp.hs r2
    M ./compiler/codeGen/CgProf.hs r2
    M ./compiler/codeGen/CgStackery.lhs r2
    M ./compiler/codeGen/CgTailCall.lhs r2
    M ./compiler/codeGen/CgTicky.hs r2
    M ./compiler/codeGen/CgUtils.hs r5
    M ./compiler/codeGen/ClosureInfo.lhs r2
    M ./compiler/codeGen/CodeGen.lhs r2
    M ./compiler/codeGen/SMRep.lhs r2
    M ./compiler/nativeGen/MachCodeGen.hs -1 +1 r2
    M ./compiler/nativeGen/RegAllocLinear.hs -1 +1
    M ./compiler/nativeGen/RegLiveness.hs -2 +4

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

Reply via email to