Inlining of methods (dictionary accessors) in GHC 7.10?

Simon Peyton Jones simonpj at
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] On Behalf Of Conal Elliott
Sent: 06 January 2016 05:38
To: ghc-devs at
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: <>

More information about the ghc-devs mailing list