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

On branch  : supercompiler

http://hackage.haskell.org/trac/ghc/changeset/9cf959869c26a561e88fb9f791b61d2fed66933f

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

commit 9cf959869c26a561e88fb9f791b61d2fed66933f
Author: Max Bolingbroke <batterseapo...@hotmail.com>
Date:   Fri Oct 19 10:44:25 2012 +0100

    Disable instance matching by default

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

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

diff --git a/compiler/supercompile/Supercompile/StaticFlags.hs 
b/compiler/supercompile/Supercompile/StaticFlags.hs
index 1244224..a583acd 100644
--- a/compiler/supercompile/Supercompile/StaticFlags.hs
+++ b/compiler/supercompile/Supercompile/StaticFlags.hs
@@ -25,7 +25,7 @@ data InstanceMatching = NoInstances | InstancesOfGeneralised 
| AllInstances
 -- of MSG-based generalisation+rollback, and has the potential to lose more 
useful optimisation than that combo does.
 -- Matching back to generalised stuff is still a good idea, but we need to 
propagate generalised flags more agressively (FIXME)
 iNSTANCE_MATCHING :: InstanceMatching
-iNSTANCE_MATCHING = parseEnum "-fsupercompiler-instance-matching" 
InstancesOfGeneralised [("full", AllInstances), ("generalised", 
InstancesOfGeneralised), ("none", NoInstances)]
+iNSTANCE_MATCHING = parseEnum "-fsupercompiler-instance-matching" NoInstances 
[("full", AllInstances), ("generalised", InstancesOfGeneralised), ("none", 
NoInstances)]
 
 -- This is not remotely safe:
 fLOAT_TO_MATCH :: Bool



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to