[commit: ghc] supercompiler: Add dEPTH_LIIMT (5851773)

Max Bolingbroke <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : supercompiler

http://hackage.haskell.org/trac/ghc/changeset/5851773eb15df308113b6d2bcee3dae128ba8ecc

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

commit 5851773eb15df308113b6d2bcee3dae128ba8ecc
Author: Max Bolingbroke <[email protected]>
Date:   Thu Jan 5 09:31:08 2012 +0000

    Add dEPTH_LIIMT

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

 compiler/supercompile/Supercompile/StaticFlags.hs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/compiler/supercompile/Supercompile/StaticFlags.hs b/compiler/supercompile/Supercompile/StaticFlags.hs
index b9753aa..282b758 100644
--- a/compiler/supercompile/Supercompile/StaticFlags.hs
+++ b/compiler/supercompile/Supercompile/StaticFlags.hs
@@ -33,6 +33,11 @@ bOUND_STEPS :: Bool
 bOUND_STEPS = "--bound-steps" `elem` aRGS
 --bOUND_STEPS = True
 
+-- For debugging very long-running supercompilation
+dEPTH_LIIMT :: Maybe Int
+dEPTH_LIIMT = Nothing
+--dEPTH_LIIMT = Just 40
+
 data DeedsPolicy = FCFS | Proportional
                  deriving (Read)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.