diff options
| author | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2015-11-29 22:49:46 +0100 |
|---|---|---|
| committer | Ben Gamari <ben@smart-cactus.org> | 2015-11-29 22:50:06 +0100 |
| commit | bcd55a94f234f5efa4bb4fd24429dafc79d93106 (patch) | |
| tree | 9c81c3e07dc0ca2119ae0a4c80fa0b12d1e06ec7 /compiler/main/Packages.hs | |
| parent | f101a822966c52e96438db52c5fff2c7384f0c4c (diff) | |
| download | haskell-bcd55a94f234f5efa4bb4fd24429dafc79d93106.tar.gz | |
Some improvements on CoreToDos passed to plugins
This patch does two improvements:
- We now show ToDos in `CoreDoPasses`. This is pretty important,
otherwise `CoreDoPasses` makes debugging impossible in some cases.
- Before running ToDos we run a cleanup pass on ToDos to remove
`CoreDoNothing`s and flatten `CoreDoPasses`. This removes a lot of
noise from `[CoreToDo]` argument passed to plugins.
Reviewers: simonpj, bgamari, austin
Reviewed By: bgamari, austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1548
Diffstat (limited to 'compiler/main/Packages.hs')
0 files changed, 0 insertions, 0 deletions
