summaryrefslogtreecommitdiff
path: root/compiler/GHC/Iface
diff options
context:
space:
mode:
authorFendor <power.walross@gmail.com>2021-07-19 11:42:01 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-07-21 02:46:50 -0400
commit5b157eb2bea7fc4ad654c83258cf1ab6ad0f85f0 (patch)
tree7efac4ebf4829083e9bfe3d0882e463841b7a3be /compiler/GHC/Iface
parent06d1ca856d3374bf8dac952740cfe4cef76a350d (diff)
downloadhaskell-5b157eb2bea7fc4ad654c83258cf1ab6ad0f85f0.tar.gz
Use Ways API instead of Set specific functions
Diffstat (limited to 'compiler/GHC/Iface')
-rw-r--r--compiler/GHC/Iface/Tidy.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Iface/Tidy.hs b/compiler/GHC/Iface/Tidy.hs
index a9bcdeecc6..41b1ad6b9e 100644
--- a/compiler/GHC/Iface/Tidy.hs
+++ b/compiler/GHC/Iface/Tidy.hs
@@ -437,7 +437,7 @@ tidyProgram hsc_env (ModGuts { mg_module = mod
; local_ccs
- | WayProf `S.member` ways dflags
+ | ways dflags `hasWay` WayProf
= collectCostCentres mod all_tidy_binds tidy_rules
| otherwise
= S.empty