diff options
| author | Michal Terepeta <michal.terepeta@gmail.com> | 2017-05-08 17:47:02 -0400 |
|---|---|---|
| committer | Ben Gamari <ben@smart-cactus.org> | 2017-05-08 17:47:10 -0400 |
| commit | b99bae6d132e083b73283963be85932596341ddd (patch) | |
| tree | a156d3f6fc78040ed1f38d475ca0e84dac9e2a75 /compiler/codeGen | |
| parent | c5b28e06cc71cba56153e59e2958f24cdf183fb9 (diff) | |
| download | haskell-b99bae6d132e083b73283963be85932596341ddd.tar.gz | |
Dataflow: use IntSet for mkDepBlocks
Using `IntSet` instead of `[Int]` is nicer since it gets rid of
appending to a list (in the backward case) and folding over it is
ordered.
I also added a comment about how `mkDepBlocks` works since its
behavior can be a bit surprising at first sight (it took me some time
to see that it's doing the right thing ;)
Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: ./validate
Reviewers: austin, bgamari, simonmar
Reviewed By: bgamari
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D3530
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions
