summaryrefslogtreecommitdiff
path: root/compiler/cmm/CmmLex.x
diff options
context:
space:
mode:
authorsimonpj@microsoft.com <unknown>2009-04-24 12:32:38 +0000
committersimonpj@microsoft.com <unknown>2009-04-24 12:32:38 +0000
commit7936b988d6d0a5f9a9b439c7d4a6adf616ddb9b5 (patch)
tree5b1faaaacb688eb3438391be2e3258a393494c97 /compiler/cmm/CmmLex.x
parentc1cecc0b8c71fc84d4d1d9f1832b5fb172fe433e (diff)
downloadhaskell-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