[commit: ghc] master: Rename -ddump-cmm-rewrite to -ddump-cmm-sink (6719877)
git at git.haskell.org
git at git.haskell.org
Fri Sep 13 10:36:36 CEST 2013
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/6719877ebbeaf9b4925996d4268b377da68aff10/ghc
>---------------------------------------------------------------
commit 6719877ebbeaf9b4925996d4268b377da68aff10
Author: Jan Stolarek <jan.stolarek at p.lodz.pl>
Date: Fri Sep 13 08:48:54 2013 +0100
Rename -ddump-cmm-rewrite to -ddump-cmm-sink
This makes it consistent with the corresponding -cmm-sink flag
>---------------------------------------------------------------
6719877ebbeaf9b4925996d4268b377da68aff10
compiler/cmm/CmmPipeline.hs | 2 +-
compiler/main/DynFlags.hs | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/compiler/cmm/CmmPipeline.hs b/compiler/cmm/CmmPipeline.hs
index 8650466..49d2ccb 100644
--- a/compiler/cmm/CmmPipeline.hs
+++ b/compiler/cmm/CmmPipeline.hs
@@ -99,7 +99,7 @@ cpsTop hsc_env proc =
----------- Sink and inline assignments --------------------------------
g <- {-# SCC "sink" #-} -- See Note [Sinking after stack layout]
condPass Opt_CmmSink (cmmSink dflags) g
- Opt_D_dump_cmm_rewrite "Sink assignments"
+ Opt_D_dump_cmm_sink "Sink assignments"
------------- CAF analysis ----------------------------------------------
let cafEnv = {-# SCC "cafAnal" #-} cafAnal g
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 965683c..ada18b5 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -197,7 +197,7 @@ data DumpFlag
| Opt_D_dump_cmm_cfg
| Opt_D_dump_cmm_cbe
| Opt_D_dump_cmm_proc
- | Opt_D_dump_cmm_rewrite
+ | Opt_D_dump_cmm_sink
| Opt_D_dump_cmm_sp
| Opt_D_dump_cmm_procmap
| Opt_D_dump_cmm_split
@@ -2220,7 +2220,7 @@ dynamic_flags = [
, Flag "ddump-cmm-cfg" (setDumpFlag Opt_D_dump_cmm_cfg)
, Flag "ddump-cmm-cbe" (setDumpFlag Opt_D_dump_cmm_cbe)
, Flag "ddump-cmm-proc" (setDumpFlag Opt_D_dump_cmm_proc)
- , Flag "ddump-cmm-rewrite" (setDumpFlag Opt_D_dump_cmm_rewrite)
+ , Flag "ddump-cmm-sink" (setDumpFlag Opt_D_dump_cmm_sink)
, Flag "ddump-cmm-sp" (setDumpFlag Opt_D_dump_cmm_sp)
, Flag "ddump-cmm-procmap" (setDumpFlag Opt_D_dump_cmm_procmap)
, Flag "ddump-cmm-split" (setDumpFlag Opt_D_dump_cmm_split)
More information about the ghc-commits
mailing list