Inlining of methods (dictionary accessors) in GHC 7.10?

Andrew Farmer xichekolas at gmail.com
Wed Jan 6 06:15:29 UTC 2016


I *think* we found our answer here:

https://github.com/ghc/ghc/blob/2db18b8135335da2da9918b722699df684097be9/compiler/typecheck/TcInstDcls.hs#L158

On Tue, Jan 5, 2016 at 9:39 PM, Conal Elliott <conal at conal.net> wrote:
> Sorry for the editing error. I meant "Did something about change with ...".
>
> On Tue, Jan 5, 2016 at 9:38 PM, Conal Elliott <conal at conal.net> wrote:
>>
>> 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
>
>
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>


More information about the ghc-devs mailing list