Bug-fix to patch "Run simplifier before SpecConstr"
authorsimonpj@microsoft.com <unknown>
Tue, 23 May 2006 13:00:22 +0000 (13:00 +0000)
committersimonpj@microsoft.com <unknown>
Tue, 23 May 2006 13:00:22 +0000 (13:00 +0000)
compiler/main/DynFlags.hs

index 2d28ae6..0bd6690 100644 (file)
@@ -727,7 +727,7 @@ getCoreToDo dflags
 
        ++ 
 
-     if opt_level >= 2 then
+     (if opt_level >= 2 then
           [  CoreLiberateCase,
              CoreDoSimplify (SimplPhase 0) [
                  MaxSimplifierIterations max_iter
@@ -736,8 +736,8 @@ getCoreToDo dflags
                        -- Reason: see Note [Shadowing] in SpecConstr.lhs
             CoreDoSpecConstr
           ]
-     else
-          []
+      else
+          [])
 
        ++