patch applied (ghc): Fix #249 (-caf-all bugs)
Simon Marlow
simonmar at microsoft.com
Wed Feb 28 10:51:10 EST 2007
Wed Feb 28 07:50:09 PST 2007 Simon Marlow <simonmar at microsoft.com>
* Fix #249 (-caf-all bugs)
There were two bugs:
* we were generating the symbol name for the CAF
cost centre from the OccName, which isn't unique enough
in the case of system-generated non-external names
* :Main.main caused problems, because we were assuming that
every top-level CAF was from the current module.
M ./compiler/profiling/CostCentre.lhs -3 +10
M ./compiler/profiling/SCCfinal.lhs -2 +8
More information about the Cvs-ghc
mailing list