patch applied (ghc): First pass at implementing info tables for CPS
Simon Marlow
simonmar at microsoft.com
Tue Jul 3 10:43:55 EDT 2007
Wed Jun 27 08:12:57 PDT 2007 Michael D. Adams <t-madams at microsoft.com>
* First pass at implementing info tables for CPS
This is a fairly complete implementation, however
two 'panic's have been placed in the critical path
where the implementation is still a bit lacking so
do not expect it to run quite yet.
One call to panic is because we still need to create
a GC block for procedures that don't have them yet.
(cmm/CmmCPS.hs:continuationToProc)
The other is due to the need to convert from a
ContinuationInfo to a CmmInfo.
(codeGen/CgInfoTbls.hs:emitClosureCodeAndInfoTable)
(codeGen/CgInfoTbls.hs:emitReturnTarget)
M ./compiler/cmm/CLabel.hs -6 +8
M ./compiler/cmm/Cmm.hs -8 +45
M ./compiler/cmm/CmmBrokenBlock.hs -1 +2
M ./compiler/cmm/CmmCPS.hs -68 +186
M ./compiler/cmm/CmmLint.hs -3 +3
M ./compiler/cmm/CmmOpt.hs -1 +1
M ./compiler/cmm/CmmParse.y -25 +26
M ./compiler/cmm/CmmProcPoint.hs -1 +1
M ./compiler/cmm/PprC.hs -4 +4
M ./compiler/cmm/PprCmm.hs -20 +58
M ./compiler/codeGen/CgCallConv.hs -1 +2
M ./compiler/codeGen/CgInfoTbls.hs -4 +19
M ./compiler/codeGen/CgMonad.lhs -4 +4
M ./compiler/codeGen/CgUtils.hs -1 +17
M ./compiler/codeGen/SMRep.lhs -3 +3
M ./compiler/main/CodeOutput.lhs -2 +2
M ./compiler/main/HscMain.lhs -2 +2
M ./compiler/nativeGen/AsmCodeGen.lhs -6 +6
M ./compiler/nativeGen/MachCodeGen.hs -1 +1
M ./compiler/nativeGen/MachInstrs.hs -2 +2
More information about the Cvs-ghc
mailing list