summaryrefslogtreecommitdiff
path: root/compiler/GHC/Stg/Lift/Analysis.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Stg/Lift/Analysis.hs')
-rw-r--r--compiler/GHC/Stg/Lift/Analysis.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Stg/Lift/Analysis.hs b/compiler/GHC/Stg/Lift/Analysis.hs
index 6fc116c8bc..1a91100bc1 100644
--- a/compiler/GHC/Stg/Lift/Analysis.hs
+++ b/compiler/GHC/Stg/Lift/Analysis.hs
@@ -326,7 +326,7 @@ tagSkeletonRhs bndr (StgRhsClosure fvs ccs upd bndrs body)
rhsCard :: Id -> Card
rhsCard bndr
| is_thunk = oneifyCard n
- | otherwise = peelManyCalls (idArity bndr) cd
+ | otherwise = fst (peelManyCalls (idArity bndr) cd)
where
is_thunk = idArity bndr == 0
-- Let's pray idDemandInfo is still OK after unarise...