cvs commit: fptools/ghc/compiler/codeGen CgCase.lhs CgCon.lhs
CgForeignCall.hs CgInfoTbls.hs CgProf.hs CgTailCall.lhs
Simon Marlow
simonmar at glass.cse.ogi.edu
Thu Mar 11 03:47:40 EST 2004
simonmar 2004/03/11 03:47:40 PST
Modified files: (Branch: backend-hacking-branch)
ghc/compiler/codeGen CgCase.lhs CgCon.lhs CgForeignCall.hs
CgInfoTbls.hs CgProf.hs CgTailCall.lhs
Log:
Fix an off-by-one error in cgReturnDataCon that caused a jump to
ImpossibleBranch. Define dataConTagZ to get the zero-indexed tag of a
DataCon, and use it consistently.
Revision Changes Path
1.66.4.25 +3 -2 fptools/ghc/compiler/codeGen/CgCase.lhs
1.45.2.17 +3 -3 fptools/ghc/compiler/codeGen/CgCon.lhs
1.1.2.9 +29 -13 fptools/ghc/compiler/codeGen/Attic/CgForeignCall.hs
1.1.2.22 +9 -2 fptools/ghc/compiler/codeGen/Attic/CgInfoTbls.hs
1.1.2.21 +0 -1 fptools/ghc/compiler/codeGen/Attic/CgProf.hs
1.38.6.20 +4 -4 fptools/ghc/compiler/codeGen/CgTailCall.lhs
More information about the Cvs-ghc
mailing list