summaryrefslogtreecommitdiff
path: root/ghc/compiler/simplCore/FoldrBuildWW.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/compiler/simplCore/FoldrBuildWW.lhs')
-rw-r--r--ghc/compiler/simplCore/FoldrBuildWW.lhs4
1 files changed, 1 insertions, 3 deletions
diff --git a/ghc/compiler/simplCore/FoldrBuildWW.lhs b/ghc/compiler/simplCore/FoldrBuildWW.lhs
index a3e559d48c..19ec58c8f9 100644
--- a/ghc/compiler/simplCore/FoldrBuildWW.lhs
+++ b/ghc/compiler/simplCore/FoldrBuildWW.lhs
@@ -149,9 +149,7 @@ try_split_bind id expr =
worker_ty = mkForallTy (templ ++ [alphaTyVar])
(foldr mkFunTy n_ty_templ (arg_tys++[c_ty_templ,n_ty_templ]))
- wrapper_id = id `replaceIdInfo`
- (getIdInfo id `addInfo_UF`
- iWantToBeINLINEd UnfoldAlways)
+ wrapper_id = addInlinePragma id
worker_id = mkWorkerId worker_new_uq id worker_ty
noIdInfo
-- TODO : CHECK if mkWorkerId is thr