Naming changes in External Core
authorTim Chevalier <chevalier@alum.wellesley.edu>
Tue, 22 Apr 2008 01:27:34 +0000 (01:27 +0000)
committerTim Chevalier <chevalier@alum.wellesley.edu>
Tue, 22 Apr 2008 01:27:34 +0000 (01:27 +0000)
commitb0045fdd4404f3ac2ddacad8c39a017f01f8ff6b
tree92ccb8702dbd8967abf1638eca6a9615fd196c6a
parentb6a155b281f223f328b617d3a7763688537b2ee3
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.)
compiler/coreSyn/MkExternalCore.lhs
compiler/coreSyn/PprExternalCore.lhs