summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-09-15 13:05:34 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-09-17 09:44:53 -0400
commit44e7120dacad683829194b0dbedcfb679d5ffe93 (patch)
treedce524892af2e6d336e5023d180fb0711f5ca1c2 /compiler
parent9eff805a622db499be1fda304e11bb3e6c8d37f0 (diff)
downloadhaskell-44e7120dacad683829194b0dbedcfb679d5ffe93.tar.gz
Code Gen: Replace another lazy fmap with strict mapMap
Diffstat (limited to 'compiler')
-rw-r--r--compiler/GHC/CmmToAsm/CFG.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/CmmToAsm/CFG.hs b/compiler/GHC/CmmToAsm/CFG.hs
index 43c0764bad..5c1f23ceab 100644
--- a/compiler/GHC/CmmToAsm/CFG.hs
+++ b/compiler/GHC/CmmToAsm/CFG.hs
@@ -370,7 +370,7 @@ delEdge from to m =
delNode :: BlockId -> CFG -> CFG
delNode node cfg =
- fmap (mapDelete node) -- < Edges to the node
+ mapMap (mapDelete node) -- < Edges to the node
(mapDelete node cfg) -- < Edges from the node
-- | Destinations from bid ordered by weight (descending)