[commit: ghc] master: Remove unused -dopt-fuel (af4f987)

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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/af4f98719e48cbb891bfb6e1c04c577649f32760

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

commit af4f98719e48cbb891bfb6e1c04c577649f32760
Author: Ian Lynagh <[email protected]>
Date:   Mon Sep 3 22:42:07 2012 +0100

    Remove unused -dopt-fuel

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

 compiler/main/StaticFlagParser.hs |    1 -
 compiler/main/StaticFlags.hs      |    6 ------
 2 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/compiler/main/StaticFlagParser.hs b/compiler/main/StaticFlagParser.hs
index 4e98499..36b32fa 100644
--- a/compiler/main/StaticFlagParser.hs
+++ b/compiler/main/StaticFlagParser.hs
@@ -100,7 +100,6 @@ flagsStatic = [
   , Flag "dsuppress-idinfo"            (PassFlag addOpt)
   , Flag "dsuppress-var-kinds"         (PassFlag addOpt)
   , Flag "dsuppress-type-signatures"   (PassFlag addOpt)
-  , Flag "dopt-fuel"                   (AnySuffix addOpt)
   , Flag "dno-debug-output"            (PassFlag addOpt)
       -- rest of the debugging flags are dynamic
 
diff --git a/compiler/main/StaticFlags.hs b/compiler/main/StaticFlags.hs
index 6b01a95..df6d924 100644
--- a/compiler/main/StaticFlags.hs
+++ b/compiler/main/StaticFlags.hs
@@ -60,9 +60,6 @@ module StaticFlags (
 	opt_UF_KeenessFactor,
 	opt_UF_DearOp,
 
-	-- Optimization fuel controls
-	opt_Fuel,
-
 	-- misc opts
 	opt_ErrorSpans,
 
@@ -219,9 +216,6 @@ opt_SuppressUniques
 opt_PprStyle_Debug  :: Bool
 opt_PprStyle_Debug              = lookUp  (fsLit "-dppr-debug")
 
-opt_Fuel            :: Int
-opt_Fuel                        = lookup_def_int "-dopt-fuel" maxBound
-
 opt_NoDebugOutput   :: Bool
 opt_NoDebugOutput               = lookUp  (fsLit "-dno-debug-output")
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.