diff options
| author | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2015-11-01 17:14:58 +0100 |
|---|---|---|
| committer | Ben Gamari <ben@smart-cactus.org> | 2015-11-01 17:15:34 +0100 |
| commit | e9bfb3fd4cb61621c28b51f0bf0e3d2c6f74e45f (patch) | |
| tree | 70df393df0cb50c012cc60e125dba7cc2533ed50 /compiler/prelude | |
| parent | 52c6e3d608ee3d010337d4405df86c2620d24887 (diff) | |
| download | haskell-e9bfb3fd4cb61621c28b51f0bf0e3d2c6f74e45f.tar.gz | |
Minor simplification in unariser pass:
We don't need to update StgCase's AltType, because it's already set
correctly in `CoreToStg.mkStgAltType`, so we can just remove extra
argument passing and return values.
(I think this is a useful refactoring because it makes it clear that we
don't need to update AltTypes)
Reviewers: austin, bgamari, simonpj
Reviewed By: bgamari, simonpj
Subscribers: simonpj, thomie
Differential Revision: https://phabricator.haskell.org/D1403
Diffstat (limited to 'compiler/prelude')
0 files changed, 0 insertions, 0 deletions
