summaryrefslogtreecommitdiff
path: root/compiler/utils/Util.hs
diff options
context:
space:
mode:
authorMichal Terepeta <michal.terepeta@gmail.com>2018-03-19 12:03:20 -0400
committerBen Gamari <ben@smart-cactus.org>2018-03-19 12:05:12 -0400
commit256577fbde836f13c744418d38d18c17a369f7e9 (patch)
tree3bce5b87c24e6832e1c659a3d737768dad130822 /compiler/utils/Util.hs
parent20cbb0165e4d18df510e707791e761942d3c10f0 (diff)
downloadhaskell-256577fbde836f13c744418d38d18c17a369f7e9.tar.gz
CmmUtils: get rid of insertBlock
`Hoopl.Graph` has almost exactly the same function, so let's use that. Also, use `IntMap.alter` to make it more efficient. Also switch `Hoopl` to use strict maps. Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com> Test Plan: ./validate Reviewers: bgamari, simonmar Reviewed By: bgamari Subscribers: dfeuer, rwbarton, thomie, carter Differential Revision: https://phabricator.haskell.org/D4493
Diffstat (limited to 'compiler/utils/Util.hs')
0 files changed, 0 insertions, 0 deletions