summaryrefslogtreecommitdiff
path: root/compiler/simplCore/SimplCore.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/simplCore/SimplCore.lhs')
-rw-r--r--compiler/simplCore/SimplCore.lhs5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/simplCore/SimplCore.lhs b/compiler/simplCore/SimplCore.lhs
index 92784d33b3..110c461d39 100644
--- a/compiler/simplCore/SimplCore.lhs
+++ b/compiler/simplCore/SimplCore.lhs
@@ -190,8 +190,6 @@ getCoreToDo dflags
demand_analyser = (CoreDoPasses ([
CoreDoStrictness,
CoreDoWorkerWrapper,
- simpl_phase 0 ["post-worker-wrapper"] max_iter,
- CoreCommonContext,
simpl_phase 0 ["post-worker-wrapper"] max_iter
]))
@@ -293,6 +291,9 @@ getCoreToDo dflags
-- reduce the possiblility of shadowing
-- Reason: see Note [Shadowing] in SpecConstr.lhs
+ CoreCommonContext,
+ simpl_phase 0 ["post-common-context"] max_iter,
+
runWhen spec_constr CoreDoSpecConstr,
maybe_rule_check (Phase 0),