summaryrefslogtreecommitdiff
path: root/compiler/codeGen/StgCmm.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2016-02-08 17:41:58 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2016-02-08 17:44:53 +0000
commit489a9a3beeeae3d150761ef863b4757eba0b02d9 (patch)
treea03c33230b3dd0d7004ae00bde990b9794563631 /compiler/codeGen/StgCmm.hs
parentc9ac9de78254fb6bf463fd6370be7a7214b3e649 (diff)
downloadhaskell-489a9a3beeeae3d150761ef863b4757eba0b02d9.tar.gz
Define tyConRolesRepresentational and use it
tyConRolesRepresentational is just a version of tyConRolesX, but specialised for a Representational argument. Saves a bit of extra argument passing and pattern matching, and tyConRolesX was often called when we knew the argument role was Representational. Rather to my surprise this made the compiler allocate 5% less for tests T9872{b,c,d}. At least I think it's this commit. Good thing, regardless.
Diffstat (limited to 'compiler/codeGen/StgCmm.hs')
0 files changed, 0 insertions, 0 deletions