summaryrefslogtreecommitdiff
path: root/compiler/cmm/CmmPipeline.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-11-05 01:34:12 +0000
committerIan Lynagh <igloo@earth.li>2011-11-05 13:46:35 +0000
commitd09e2b76319a15ef29d140968cad1e45a8c15a1b (patch)
tree3e5fb74b139b3c02aab82494f1ae5b5a1d87aaee /compiler/cmm/CmmPipeline.hs
parent5fc9ac61dfb66537d78ceb01b6e460a8ccfbf4b9 (diff)
downloadhaskell-d09e2b76319a15ef29d140968cad1e45a8c15a1b.tar.gz
Finish de-CPPing CmmOpt.hs
Diffstat (limited to 'compiler/cmm/CmmPipeline.hs')
-rw-r--r--compiler/cmm/CmmPipeline.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cmm/CmmPipeline.hs b/compiler/cmm/CmmPipeline.hs
index 8ab1601e2c..3d98d0a9ec 100644
--- a/compiler/cmm/CmmPipeline.hs
+++ b/compiler/cmm/CmmPipeline.hs
@@ -114,7 +114,7 @@ cpsTop hsc_env (CmmProc h@(TopInfo {stack_info=StackInfo {arg_space=entry_off}})
dumpPlatform platform Opt_D_dump_cmmz_spills "Post spills and reloads" g
----------- Sink and inline assignments -------------------
- g <- runOptimization $ rewriteAssignments g
+ g <- runOptimization $ rewriteAssignments platform g
dumpPlatform platform Opt_D_dump_cmmz_rewrite "Post rewrite assignments" g
----------- Eliminate dead assignments -------------------