Wed Nov 26 10:34:02 PST 2008 Thomas Schilling <[EMAIL PROTECTED]>
* Force recompilation of BCOs when they were compiled in HscNothing mode.
Previously, loading a set of modules in HscNothing mode and then
switching to HscInterpreted could lead to crashes since modules
compiled with HscNothing were thought to be valid bytecode objects.
This patch forces recompilation in these cases, hence switching between
HscNothing and HscInterpreted should be safe now.
M ./compiler/main/GHC.hs -1 +16
M ./compiler/main/HscTypes.lhs -2 +8
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20081126183402-7c5c6-e4a7dfd9b118065f31656395eba145111517610b.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc