summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2020-04-29 21:36:46 +0300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-04-30 21:35:24 -0400
commita43620c621563deed76ba6b417e3a7a707c15d23 (patch)
treee7965f73f71a3698e29b2f364315ee6ae51a1bb1
parent05b0a9fd136869f71245e12fdae64d42dc2ee1df (diff)
downloadhaskell-a43620c621563deed76ba6b417e3a7a707c15d23.tar.gz
GHC.StgToCmm.Ticky: remove a few unused stuff
-rw-r--r--compiler/GHC/StgToCmm/Ticky.hs21
1 files changed, 4 insertions, 17 deletions
diff --git a/compiler/GHC/StgToCmm/Ticky.hs b/compiler/GHC/StgToCmm/Ticky.hs
index b84b1cb055..6ec96325a3 100644
--- a/compiler/GHC/StgToCmm/Ticky.hs
+++ b/compiler/GHC/StgToCmm/Ticky.hs
@@ -82,26 +82,22 @@ module GHC.StgToCmm.Ticky (
tickyHeapCheck,
tickyStackCheck,
- tickyUnknownCall, tickyDirectCall,
+ tickyDirectCall,
tickyPushUpdateFrame,
tickyUpdateFrameOmitted,
tickyEnterDynCon,
- tickyEnterStaticCon,
- tickyEnterViaNode,
tickyEnterFun,
tickyEnterThunk,
tickyEnterLNE,
tickyUpdateBhCaf,
- tickyBlackHole,
tickyUnboxedTupleReturn,
tickyReturnOldCon, tickyReturnNewCon,
- tickyKnownCallTooFewArgs, tickyKnownCallExact, tickyKnownCallExtraArgs,
- tickySlowCall, tickySlowCallPat,
+ tickySlowCall
) where
import GHC.Prelude
@@ -275,10 +271,8 @@ tickyUpdateFrameOmitted = ifTicky $ bumpTickyCounter (fsLit "UPDF_OMITTED_ctr")
-- bump of name-specific ticky counter into. On the other hand, we can
-- still track allocation their allocation.
-tickyEnterDynCon, tickyEnterStaticCon, tickyEnterViaNode :: FCode ()
-tickyEnterDynCon = ifTicky $ bumpTickyCounter (fsLit "ENT_DYN_CON_ctr")
-tickyEnterStaticCon = ifTicky $ bumpTickyCounter (fsLit "ENT_STATIC_CON_ctr")
-tickyEnterViaNode = ifTicky $ bumpTickyCounter (fsLit "ENT_VIA_NODE_ctr")
+tickyEnterDynCon :: FCode ()
+tickyEnterDynCon = ifTicky $ bumpTickyCounter (fsLit "ENT_DYN_CON_ctr")
tickyEnterThunk :: ClosureInfo -> FCode ()
tickyEnterThunk cl_info
@@ -298,13 +292,6 @@ tickyEnterThunk cl_info
| otherwise = if updatable then fsLit "ENT_DYN_THK_SINGLE_ctr"
else fsLit "ENT_DYN_THK_MANY_ctr"
-tickyBlackHole :: Bool{-updatable-} -> FCode ()
-tickyBlackHole updatable
- = ifTicky (bumpTickyCounter ctr)
- where
- ctr | updatable = (fsLit "UPD_BH_SINGLE_ENTRY_ctr")
- | otherwise = (fsLit "UPD_BH_UPDATABLE_ctr")
-
tickyUpdateBhCaf :: ClosureInfo -> FCode ()
tickyUpdateBhCaf cl_info
= ifTicky (bumpTickyCounter ctr)