Inlining of methods (dictionary accessors) in GHC 7.10?

Simon Peyton Jones simonpj at microsoft.com
Wed Jan 6 09:25:53 UTC 2016


Quite possibly.  Maybe you can give a tiny concrete example?

From: ghc-devs [mailto:ghc-devs-bounces at haskell.org] On Behalf Of Conal Elliott
Sent: 06 January 2016 05:38
To: ghc-devs at haskell.org
Subject: Inlining of methods (dictionary accessors) in GHC 7.10?

Did something about change with method inlining between GHC 7.8.2 and 7.10.3? I don't mean methods attached to instances, but rather the method name itself, which I understand is defined as simple field accessors into a dictionary. I do inlining indirectly via HERMIT, and the method names are no longer successfully inlining to the accessors. The dictionaries themselves inline fine, as do field accessors for algebraic types with named fields.
-- Conal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160106/f8324d82/attachment.html>


More information about the ghc-devs mailing list