Wed Jan 14 14:44:28 PST 2009 Tim Chevalier <[email protected]>
* External Core lib: lots of cleanup
- Factor out code for applying newtypes from Check into CoreUtils
- Use this code in Prep, which allowed for some simplification
- Change Merge and ElimDeadCode to not flatten top-level binds
- Add a flag for elimDeadCode to tell it whether to keep
exported bindings or not.
- Other things.
M ./utils/ext-core/Language/Core/Check.hs -87 +65
M ./utils/ext-core/Language/Core/CoreUtils.hs -2 +118
M ./utils/ext-core/Language/Core/ElimDeadCode.hs -10 +13
M ./utils/ext-core/Language/Core/Merge.hs -6 +8
M ./utils/ext-core/Language/Core/Prep.hs -58 +12
M ./utils/ext-core/Language/Core/Printer.hs +5
M ./utils/ext-core/Language/Core/Utils.hs -1 +1
M ./utils/ext-core/extcore.cabal -2 +2
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090114224428-d61e2-7cc1b9daa220840126035f57cada0399bd4f02f0.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc