Retain InlinePragInfo on wrappers
authorsimonpj@microsoft.com <unknown>
Wed, 17 May 2006 15:47:25 +0000 (15:47 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 17 May 2006 15:47:25 +0000 (15:47 +0000)
commitc55bcbdea7b8122956853c90f680a59808889b95
tree3d4a8f1a27ae69263dc8719caefc2e5e3de8e50f
parent27497880e4386b42cd078c15f82e1b02a92aae92
Retain InlinePragInfo on wrappers

For some reason, when doing the worker/wrapper split, we transferred the
InlinePragInfo from the original function, but expunging it from the wrapper.
This meant, for example, that a NOINLINE function would have its wrapper
inlined, which isn't sensible.

For a change, fixing a bug involves only deleting code!
compiler/stranal/WorkWrap.lhs