patch applied (ghc): Naming changes in External Core
Tim Chevalier
chevalier at alum.wellesley.edu
Mon Apr 21 21:54:49 EDT 2008
Mon Apr 21 18:27:34 PDT 2008 Tim Chevalier <chevalier at alum.wellesley.edu>
* Naming changes in External Core
Two changes:
- Top-level bindings in a given module are now printed as a
single %rec group. I found that in External Core generated from
optimized code, nonrec bindings weren't being printed in
dependency order. Rather than fixing that, I decided to not
even pretend to preserve dependency order (since there's
recursion between modules anyway.)
- Internal names are now printed with their uniques attached
(otherwise, GHC was printing out code with shadowed bindings,
and this isn't supposed to happen in External Core.)
M ./compiler/coreSyn/MkExternalCore.lhs -4 +15
M ./compiler/coreSyn/PprExternalCore.lhs -1 +2
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20080422012734-d61e2-5c8d4e215254edefca6492859e7b7f02bc752e59.gz
More information about the Cvs-ghc
mailing list