Wed Mar 18 13:46:02 PDT 2009 Ian Lynagh <[email protected]>
* MERGED: FIX biographical profiling (#3039, probably #2297)
Simon Marlow <[email protected]>**20090317144939
Since we introduced pointer tagging, we no longer always enter a
closure to evaluate it. However, the biographical profiler relies on
closures being entered in order to mark them as "used", so we were
getting spurious amounts of data attributed to VOID. It turns out
there are various places that need to be fixed, and I think at least
one of them was also wrong before pointer tagging (CgCon.cgReturnDataCon).
M ./compiler/codeGen/CgCon.lhs -3 +12
M ./compiler/codeGen/CgTailCall.lhs -1 +5
M ./compiler/codeGen/ClosureInfo.lhs +4
M ./includes/Cmm.h -4 +26
M ./rts/StgStdThunks.cmm -5 +17
View patch online:
http://darcs.haskell.org/ghc-6.10/ghc/_darcs/patches/20090318204602-3fd76-b751162d761b8b598d0354233133b47e96251b4c.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc