summaryrefslogtreecommitdiff
path: root/compiler/GHC/Cmm/Node.hs
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/Cmm/Node.hs
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/Cmm/Node.hs')
-rw-r--r--compiler/GHC/Cmm/Node.hs5
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/GHC/Cmm/Node.hs b/compiler/GHC/Cmm/Node.hs
index 943efaa3fd..37a27fd75f 100644
--- a/compiler/GHC/Cmm/Node.hs
+++ b/compiler/GHC/Cmm/Node.hs
@@ -34,7 +34,7 @@ import GHC.Data.FastString
import GHC.Types.ForeignCall
import GHC.Utils.Outputable
import GHC.Runtime.Heap.Layout
-import GHC.Core (Tickish)
+import GHC.Core (CmmTickish)
import qualified GHC.Types.Unique as U
import GHC.Cmm.Dataflow.Block
@@ -597,9 +597,6 @@ mapCollectSuccessors _ n = (n, [])
-- -----------------------------------------------------------------------------
--- | Tickish in Cmm context (annotations only)
-type CmmTickish = Tickish ()
-
-- | Tick scope identifier, allowing us to reason about what
-- annotations in a Cmm block should scope over. We especially take
-- care to allow optimisations to reorganise blocks without losing