Fri Dec 18 08:43:16 PST 2009 [email protected]
* Always expose the unfolding of something with an InlineRule
Ignore-this: 4f952f423848b8840fab69d63ee81d8f
Previously a bottoming function with a strictness wrapper
had a hidden inlining, and that was Very Bad, because in
f x = if ... then bot_fun x else x+1
we really want to pass the *unboxed* x to bot_fun. This
happens quite a bit in error handling code, eg for array
indexing.
M ./compiler/main/TidyPgm.lhs -9 +16
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20091218164316-1287e-670a3718821af3ec75345360cf3854b4d426242a.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc