Tue Mar 17 07:49:39 PDT 2009 Simon Marlow <[email protected]>
* FIX biographical profiling (#3039, probably #2297)
Ignore-this: 3b1d53fdf0f99c04e7d0055534baf52f
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/_darcs/patches/20090317144939-12142-ed66db6649c02e6c33f5c5ba521fa3f40890536a.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc