[commit: ghc] master: Add debug dump of the list of Cmm proc points (8ba55ae)

git at git.haskell.org git at git.haskell.org
Fri Nov 22 10:13:34 UTC 2013


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

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

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

commit 8ba55ae047c91a205a5cd7e37f344f5b2e3af8eb
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Thu Nov 21 22:48:26 2013 +0000

    Add debug dump of the list of Cmm proc points


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

8ba55ae047c91a205a5cd7e37f344f5b2e3af8eb
 compiler/cmm/CmmPipeline.hs |    1 +
 1 file changed, 1 insertion(+)

diff --git a/compiler/cmm/CmmPipeline.hs b/compiler/cmm/CmmPipeline.hs
index 49d2ccb..cc204e9 100644
--- a/compiler/cmm/CmmPipeline.hs
+++ b/compiler/cmm/CmmPipeline.hs
@@ -83,6 +83,7 @@ cpsTop hsc_env proc =
                   minimalProcPointSet (targetPlatform dflags) call_pps g
              else
                   return call_pps
+       dumpIfSet_dyn dflags Opt_D_dump_cmm "Proc points" (ppr l $$ ppr proc_points $$ ppr g)
 
        let noncall_pps = proc_points `setDifference` call_pps
        when (not (setNull noncall_pps) && dopt Opt_D_dump_cmm dflags) $



More information about the ghc-commits mailing list