Tue Oct 21 07:30:19 PDT 2008 [EMAIL PROTECTED]
* Don't float an expression wrapped in a cast
There is no point in floating out an expression wrapped in a coercion;
If we do we'll transform
lvl = e |> co [_$_]
to
lvl' = e; lvl = lvl' |> co
and then inline lvl. Better just to float out the payload (e).
M ./compiler/simplCore/SetLevels.lhs +7
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20081021143019-1287e-40f980e201a83a01089205be571a4a3c2f2ed4a2.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc