Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : ghc-7.2

http://hackage.haskell.org/trac/ghc/changeset/731c17a1e85297b8549ff761e404f6058bdb091c

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

commit 731c17a1e85297b8549ff761e404f6058bdb091c
Author: Ian Lynagh <[email protected]>
Date:   Sun Jul 3 21:07:31 2011 +0100

    Remove -fmethod-sharing
    
    It was already deprecated, and marked for removal in 7.2.

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

 compiler/main/DynFlags.hs |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 22151d6..16e7a3e 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -263,7 +263,6 @@ data DynFlag
    | Opt_DoEtaReduction
    | Opt_CaseMerge
    | Opt_UnboxStrictFields
-   | Opt_MethodSharing -- Now a no-op; remove in GHC 7.2
    | Opt_DictsCheap
    | Opt_EnableRewriteRules            -- Apply rewrite rules during 
simplification
    | Opt_Vectorise
@@ -1711,9 +1710,6 @@ fFlags = [
   ( "do-eta-reduction",                 AlwaysAllowed, Opt_DoEtaReduction, nop 
),
   ( "case-merge",                       AlwaysAllowed, Opt_CaseMerge, nop ),
   ( "unbox-strict-fields",              AlwaysAllowed, Opt_UnboxStrictFields, 
nop ),
-  ( "method-sharing",                   AlwaysAllowed, Opt_MethodSharing, 
-     \_ -> deprecate "doesn't do anything any more"),
-     -- Remove altogether in GHC 7.2
   ( "dicts-cheap",                      AlwaysAllowed, Opt_DictsCheap, nop ),
   ( "excess-precision",                 AlwaysAllowed, Opt_ExcessPrecision, 
nop ),
   ( "eager-blackholing",                AlwaysAllowed, Opt_EagerBlackHoling, 
nop ),



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to