projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e923340
)
Bug-fix to patch "Run simplifier before SpecConstr"
author
simonpj@microsoft.com
<unknown>
Tue, 23 May 2006 13:00:22 +0000
(13:00 +0000)
committer
simonpj@microsoft.com
<unknown>
Tue, 23 May 2006 13:00:22 +0000
(13:00 +0000)
compiler/main/DynFlags.hs
patch
|
blob
|
history
diff --git
a/compiler/main/DynFlags.hs
b/compiler/main/DynFlags.hs
index
2d28ae6
..
0bd6690
100644
(file)
--- a/
compiler/main/DynFlags.hs
+++ b/
compiler/main/DynFlags.hs
@@
-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
+ [])
++