summaryrefslogtreecommitdiff
path: root/utils/iserv/cbits
diff options
context:
space:
mode:
authorDavid Feuer <david.feuer@gmail.com>2018-02-15 03:48:51 -0500
committerDavid Feuer <David.Feuer@gmail.com>2018-02-15 03:48:52 -0500
commit8529fbba309cd692bbbb0386321515d05a6ed256 (patch)
tree158c9c35333de950160fd7484eedaa2c1bcf9a25 /utils/iserv/cbits
parent0c2350c293b82e4cb24a66e00b904933bdb1c8f3 (diff)
downloadhaskell-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