summaryrefslogtreecommitdiff
path: root/compiler/coreSyn/CoreOpt.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/coreSyn/CoreOpt.hs')
-rw-r--r--compiler/coreSyn/CoreOpt.hs8
1 files changed, 1 insertions, 7 deletions
diff --git a/compiler/coreSyn/CoreOpt.hs b/compiler/coreSyn/CoreOpt.hs
index d97a015565..57812e4c8a 100644
--- a/compiler/coreSyn/CoreOpt.hs
+++ b/compiler/coreSyn/CoreOpt.hs
@@ -675,14 +675,8 @@ loopificationJoinPointBinding_maybe bndr rhs
zapFragileIdInfo $
localiseId $
bndr
-
-- RULES etc stay with bindr'
- -- Also, previously, the function was recursive, and hence not inlineable.
- -- To tread with caution, let's keep it this way
- bndr' = (`setIdUnfolding` noUnfolding) $
- (`setInlinePragma` neverInlinePragma) $
- (`setIdOccInfo` noOccInfo) $
- bndr
+ bndr' = zapIdTailCallInfo bndr
in Just (bndr', join_bndr, mkLams bndrs body)
| otherwise