Move loop-breaker info from original function to worker in work/wrap
authorsimonpj@microsoft.com <unknown>
Fri, 18 Dec 2009 16:41:07 +0000 (16:41 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 18 Dec 2009 16:41:07 +0000 (16:41 +0000)
commited0ad23b638a61f809f12fa25218da2921266b75
treebf3e1324e350b77d11927cc79813e5d58b5ab8b5
parente934294fd6c4a3beb150b5a6c03299d8c42fd306
Move loop-breaker info from original function to worker in work/wrap

When doing a w/w split, if the original function is a loop breaker
then the worker (not the wrapper) becomes one instead.

This isn't very important, because loop breaker information is
recalculated afresh by the occurrence analyser, but it seems more
kosher.  And Lint was bleating piteously about things with InlineRules
that were loop breakers.
compiler/stranal/WorkWrap.lhs