diff options
author | David Feuer <david.feuer@gmail.com> | 2018-02-15 03:48:51 -0500 |
---|---|---|
committer | David Feuer <David.Feuer@gmail.com> | 2018-02-15 03:48:52 -0500 |
commit | 8529fbba309cd692bbbb0386321515d05a6ed256 (patch) | |
tree | 158c9c35333de950160fd7484eedaa2c1bcf9a25 /utils/iserv/cbits | |
parent | 0c2350c293b82e4cb24a66e00b904933bdb1c8f3 (diff) | |
download | haskell-8529fbba309cd692bbbb0386321515d05a6ed256.tar.gz |
Get eqTypeRep to inline
GHC didn't inline `eqTypeRep`, presumably because it ended up
being too big. This was unfortunate because it produces a
`Maybe`, which will almost always be scrutinized immediately.
Split `eqTypeRep` into a worker and a tiny wrapper, and mark the
wrapper `INLINABLE`. This change actually seems to reduce Core size,
at least in a small test.
Reviewers: hvr, bgamari, mpickering
Reviewed By: mpickering
Subscribers: mpickering, rwbarton, thomie, carter
GHC Trac Issues: #14790
Differential Revision: https://phabricator.haskell.org/D4405
Diffstat (limited to 'utils/iserv/cbits')
0 files changed, 0 insertions, 0 deletions