diff options
author | simonpj@microsoft.com <unknown> | 2010-05-06 16:33:37 +0000 |
---|---|---|
committer | simonpj@microsoft.com <unknown> | 2010-05-06 16:33:37 +0000 |
commit | 215ce9f15215399ce30ae55c9521087847d78646 (patch) | |
tree | a5af9fd4f244f76176d4c597b8a0f0c53b21cb12 /compiler/codeGen | |
parent | b2d9ef8482638a91e68acdd19ecfe24db0458049 (diff) | |
download | haskell-215ce9f15215399ce30ae55c9521087847d78646.tar.gz |
Fix Trac #3966: warn about useless UNPACK pragmas
Warning about useless UNPACK pragmas wasn't as easy as I thought.
I did quite a bit of refactoring, which improved the code by refining
the types somewhat. In particular notice that in DataCon, we have
dcStrictMarks :: [HsBang]
dcRepStrictness :: [StrictnessMarks]
The former relates to the *source-code* annotation, the latter to
GHC's representation choice.
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions