INLINE pragmas

Simon Peyton Jones simonpj at microsoft.com
Thu Jul 30 10:28:47 UTC 2015


|  INLINE[n]    becomes INLINEFROM[n]
|  NOINLINE[n]  becomes NOINLINEBEFORE[n]
|  INLINE[~n]   becomes INLINEBEFORE[n]
|  NOINLINE[~n] becomes NOINLINEFROM[n]

I'd be fine with these.  Maybe INLINE_FROM etc to split the words.

If someone wants to
 - make a ticket
 - make a proposal and get feedback
 - implement, as synonyms for the existing things
that'd be great.

|  BTW, the docs say about NOINLINE “You shouldn't ever need to do this,
|  unless you're very cautious about code size.” – should this also
|  mention that NOINLINE are often necessary with RULES?

Good idea

Simon


More information about the ghc-devs mailing list