summaryrefslogtreecommitdiff
path: root/compiler/cmm/CmmContFlowOpt.hs
diff options
context:
space:
mode:
authorsimonpj@microsoft.com <unknown>2009-09-11 13:35:13 +0000
committersimonpj@microsoft.com <unknown>2009-09-11 13:35:13 +0000
commit2bb3a439c106935d97fae7f7a0b60c21493d1bef (patch)
tree3292a9ab70aca1a486d7d4b07b59f39b28eabe65 /compiler/cmm/CmmContFlowOpt.hs
parent1dc3f29333773551f60dce638ed7309041d7c800 (diff)
downloadhaskell-2bb3a439c106935d97fae7f7a0b60c21493d1bef.tar.gz
Comments and Cmm notes
Diffstat (limited to 'compiler/cmm/CmmContFlowOpt.hs')
-rw-r--r--compiler/cmm/CmmContFlowOpt.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/cmm/CmmContFlowOpt.hs b/compiler/cmm/CmmContFlowOpt.hs
index e0d95552f9..64a23155cc 100644
--- a/compiler/cmm/CmmContFlowOpt.hs
+++ b/compiler/cmm/CmmContFlowOpt.hs
@@ -36,6 +36,7 @@ cmmCfgOptsZ g =
-- with a more exciting combination of optimisations
runCmmOpts :: Tx g -> Tx (GenCmm d h g)
+-- Lifts a transformer on a single graph to one on the whole program
runCmmOpts opt = mapProcs (optProc opt)
optProc :: Tx g -> Tx (GenCmmTop d h g)