summaryrefslogtreecommitdiff
path: root/compiler/cmm/CmmSpillReload.hs
diff options
context:
space:
mode:
authorsimonpj@microsoft.com <unknown>2008-04-28 15:57:11 +0000
committersimonpj@microsoft.com <unknown>2008-04-28 15:57:11 +0000
commit6246f5738bc482423e51342eb117a40539be790e (patch)
tree68a9993c5abccaac8ce744d4317834268e73ffff /compiler/cmm/CmmSpillReload.hs
parent2a14d735e565b2dbe4af65c0c657d8843608e36f (diff)
downloadhaskell-6246f5738bc482423e51342eb117a40539be790e.tar.gz
Fix Trac #1969: perfomance bug in the specialiser
The specialiser was using a rather brain-dead representation for UsageDetails, with much converting from lists to finite maps and back. This patch does some significant refactoring. It doesn't change the representation altogether, but it does eliminate the to-and-fro nonsense. It validates OK, but it's always possible that I have inadvertently lost specialisation somewhere, so keep an eye out for any run-time performance regressions. Oh, and Specialise is now warning-free too.
Diffstat (limited to 'compiler/cmm/CmmSpillReload.hs')
0 files changed, 0 insertions, 0 deletions