[commit: ghc] master: Remove -ddump-core-pipeline flag (c0a2354)

git at git.haskell.org git at git.haskell.org
Thu Nov 6 12:05:03 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/c0a235424a7a1963dddef6101da4edd3321b0002/ghc

>---------------------------------------------------------------

commit c0a235424a7a1963dddef6101da4edd3321b0002
Author: Jan Stolarek <jan.stolarek at p.lodz.pl>
Date:   Wed Nov 5 13:43:48 2014 +0100

    Remove -ddump-core-pipeline flag


>---------------------------------------------------------------

c0a235424a7a1963dddef6101da4edd3321b0002
 compiler/main/DynFlags.hs         | 2 --
 compiler/simplCore/CoreMonad.lhs  | 2 +-
 compiler/simplCore/SimplCore.lhs  | 4 ----
 docs/users_guide/7.10.1-notes.xml | 6 ++++++
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 495f000..d5362f3 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -237,7 +237,6 @@ data DumpFlag
    | Opt_D_dump_occur_anal
    | Opt_D_dump_parsed
    | Opt_D_dump_rn
-   | Opt_D_dump_core_pipeline -- TODO FIXME: dump after simplifier stats
    | Opt_D_dump_simpl
    | Opt_D_dump_simpl_iterations
    | Opt_D_dump_spec
@@ -2360,7 +2359,6 @@ dynamic_flags = [
   , Flag "ddump-occur-anal"        (setDumpFlag Opt_D_dump_occur_anal)
   , Flag "ddump-parsed"            (setDumpFlag Opt_D_dump_parsed)
   , Flag "ddump-rn"                (setDumpFlag Opt_D_dump_rn)
-  , Flag "ddump-core-pipeline"     (setDumpFlag Opt_D_dump_core_pipeline)
   , Flag "ddump-simpl"             (setDumpFlag Opt_D_dump_simpl)
   , Flag "ddump-simpl-iterations"  (setDumpFlag Opt_D_dump_simpl_iterations)
   , Flag "ddump-spec"              (setDumpFlag Opt_D_dump_spec)
diff --git a/compiler/simplCore/CoreMonad.lhs b/compiler/simplCore/CoreMonad.lhs
index b5479ec..04782f1 100644
--- a/compiler/simplCore/CoreMonad.lhs
+++ b/compiler/simplCore/CoreMonad.lhs
@@ -336,7 +336,7 @@ data CoreToDo           -- These are diff core-to-core passes,
 \begin{code}
 coreDumpFlag :: CoreToDo -> Maybe DumpFlag
 coreDumpFlag (CoreDoSimplify {})      = Just Opt_D_verbose_core2core
-coreDumpFlag (CoreDoPluginPass {})    = Just Opt_D_dump_core_pipeline
+coreDumpFlag (CoreDoPluginPass {})    = Just Opt_D_verbose_core2core
 coreDumpFlag CoreDoFloatInwards       = Just Opt_D_verbose_core2core
 coreDumpFlag (CoreDoFloatOutwards {}) = Just Opt_D_verbose_core2core
 coreDumpFlag CoreLiberateCase         = Just Opt_D_verbose_core2core
diff --git a/compiler/simplCore/SimplCore.lhs b/compiler/simplCore/SimplCore.lhs
index 4456f6e..1d3b233 100644
--- a/compiler/simplCore/SimplCore.lhs
+++ b/compiler/simplCore/SimplCore.lhs
@@ -80,10 +80,6 @@ core2core hsc_env guts
                            do { all_passes <- addPluginPasses dflags builtin_passes
                               ; runCorePasses all_passes guts }
 
-{--
-       ; Err.dumpIfSet_dyn dflags Opt_D_dump_core_pipeline
-             "Plugin information" "" -- TODO FIXME: dump plugin info
---}
        ; Err.dumpIfSet_dyn dflags Opt_D_dump_simpl_stats
              "Grand total simplifier statistics"
              (pprSimplCount stats)
diff --git a/docs/users_guide/7.10.1-notes.xml b/docs/users_guide/7.10.1-notes.xml
index 95f581b..c7954a7 100644
--- a/docs/users_guide/7.10.1-notes.xml
+++ b/docs/users_guide/7.10.1-notes.xml
@@ -88,6 +88,12 @@
                     specifying <option>-fno-warn-tabs</option> flag.
                 </para>
            </listitem>
+           <listitem>
+             <para>
+               <option>-ddump-simpl-phases</option> and
+               <option>-ddump-core-pipeline</option> flags have been removed.
+             </para>
+           </listitem>
        </itemizedlist>
     </sect3>
 



More information about the ghc-commits mailing list