Thu Nov 13 08:26:53 PST 2008 Thomas Schilling <[EMAIL PROTECTED]>
* Fix a bug in the recompilation checking logic.
Previously, using target HscNothing resulted in unnessesary
recompilation because 'upsweep_mod' treated HscInterface specially.
This patch changes relaxes this.
When running GHC with debug level 5, 'upsweep_mod' will now also be
more verbose about what it is doing.
There is (at least) one possible remaining problem, though: When using
target 'HscNothing' we generate a fake linkable to signal that we have
processed a module. When switching to 'HscInterpreted' this may cause
objects to not be recompiled. Switching from HscNothing to
HscInterpreted is therefore only safe if we unload everything first.
M ./compiler/main/DynFlags.hs +13
M ./compiler/main/GHC.hs -50 +60
View patch online:
http://darcs.haskell.org/ghc-6.10/ghc/_darcs/patches/20081113162653-7c5c6-ec97a0d0c87965c4ac4e571be633b6507ee4d58c.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc