Phase names in Core
simonpj at microsoft.com
Tue Jan 10 11:45:38 CET 2012
As we discussed on the phone, I think I took this out accidentally. Sorry....Feel free to restore the phase-name to the debug print
| -----Original Message-----
| From: cvs-ghc-bounces at haskell.org [mailto:cvs-ghc-bounces at haskell.org] On
| Behalf Of Roman Leshchinskiy
| Sent: 09 January 2012 23:50
| To: GHC list
| Subject: Phase names in Core
| I've noticed that -dverbose-core2core now (in 7.2) just prints "Simplifier"
| before each simplifier phase where it used to print something like
| "Simplifier Phase 1 [main]" or "Simplifier Phase 0 [post-liberate-case]".
| This was tremendously useful and now I never know where I am when looking at
| Core. In fact, I spent a bit of time implementing these phase names and at
| some point at least, GHC accepted options like -ddump-simpl-phases=post-
| liberate-case which was useful as well. Was there any particular reason for
| removing this functionality? It really made navigating Core much easier.
| Cvs-ghc mailing list
| Cvs-ghc at haskell.org
More information about the Cvs-ghc