diff options
| author | Michal Terepeta <michal.terepeta@gmail.com> | 2018-03-19 12:03:20 -0400 |
|---|---|---|
| committer | Ben Gamari <ben@smart-cactus.org> | 2018-03-19 12:05:12 -0400 |
| commit | 256577fbde836f13c744418d38d18c17a369f7e9 (patch) | |
| tree | 3bce5b87c24e6832e1c659a3d737768dad130822 /compiler/utils/FastString.hs | |
| parent | 20cbb0165e4d18df510e707791e761942d3c10f0 (diff) | |
| download | haskell-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/FastString.hs')
0 files changed, 0 insertions, 0 deletions
