diff options
author | simonpj@microsoft.com <unknown> | 2009-04-24 12:32:38 +0000 |
---|---|---|
committer | simonpj@microsoft.com <unknown> | 2009-04-24 12:32:38 +0000 |
commit | 7936b988d6d0a5f9a9b439c7d4a6adf616ddb9b5 (patch) | |
tree | 5b1faaaacb688eb3438391be2e3258a393494c97 /compiler/cmm/CmmLex.x | |
parent | c1cecc0b8c71fc84d4d1d9f1832b5fb172fe433e (diff) | |
download | haskell-7936b988d6d0a5f9a9b439c7d4a6adf616ddb9b5.tar.gz |
Don't short out top-level indirections if there's a INLINE/NOINLINE pragma
The top-level indirection-shorting, done in SimplCore.shortOutIndirections,
was accidentally nuking a NOINLINE pragma. This patch adopts a slightly
more conservative approach to indirection-shorting, only doing so if
we do not thereby overwrite or lose some user-supplied pragmas.
Diffstat (limited to 'compiler/cmm/CmmLex.x')
0 files changed, 0 insertions, 0 deletions