summaryrefslogtreecommitdiff
path: root/compiler/ghc.cabal.in
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-12-20 15:19:20 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-01-06 02:24:54 -0500
commitec26c38bfac24d958377abbae6fce3a6fcf4ae39 (patch)
tree42f27638f1605424be0cfc4323922ed01985a551 /compiler/ghc.cabal.in
parentc080b44314248545c6ddea0c0eff02f8c9edbca4 (diff)
downloadhaskell-ec26c38bfac24d958377abbae6fce3a6fcf4ae39.tar.gz
Use primOpIds cache more often (#20857)
Use primOpId instead of mkPrimOpId in a few places to benefit from Id caching. I had to mess a little bit with the module hierarchy to fix cycles and to avoid adding too many new dependencies to count-deps tests.
Diffstat (limited to 'compiler/ghc.cabal.in')
-rw-r--r--compiler/ghc.cabal.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in
index 89c6bfb51f..8be3744846 100644
--- a/compiler/ghc.cabal.in
+++ b/compiler/ghc.cabal.in
@@ -152,6 +152,7 @@ Library
GHC.Builtin.Names
GHC.Builtin.Names.TH
GHC.Builtin.PrimOps
+ GHC.Builtin.PrimOps.Ids
GHC.Builtin.Types
GHC.Builtin.Types.Literals
GHC.Builtin.Types.Prim