summaryrefslogtreecommitdiff
path: root/compiler/GHC/StgToCmm
diff options
context:
space:
mode:
authorLuite Stegeman <stegeman@gmail.com>2020-12-10 16:32:19 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-20 07:49:15 -0400
commit26328a688183e3af49b5ac315b27afc2691bbc46 (patch)
tree007b8105d2cabf52142cb8f5d7b790e888e42197 /compiler/GHC/StgToCmm
parentdd11f2d5e87ba83ca16510e3e1ac6c41c1df1647 (diff)
downloadhaskell-26328a688183e3af49b5ac315b27afc2691bbc46.tar.gz
remove superfluous 'id' type parameter from GenTickish
The 'id' type is now determined by the pass, using the XTickishId type family.
Diffstat (limited to 'compiler/GHC/StgToCmm')
-rw-r--r--compiler/GHC/StgToCmm/Expr.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/StgToCmm/Expr.hs b/compiler/GHC/StgToCmm/Expr.hs
index 91853b5799..8047571d9f 100644
--- a/compiler/GHC/StgToCmm/Expr.hs
+++ b/compiler/GHC/StgToCmm/Expr.hs
@@ -1113,7 +1113,7 @@ emitEnter fun = do
-- | Generate Cmm code for a tick. Depending on the type of Tickish,
-- this will either generate actual Cmm instrumentation code, or
-- simply pass on the annotation as a @CmmTickish@.
-cgTick :: StgTickish Id -> FCode ()
+cgTick :: StgTickish -> FCode ()
cgTick tick
= do { platform <- getPlatform
; case tick of