Inlining a "pure" ASM function

Brad Roberts braddr at puremagic.com
Thu Feb 28 14:33:15 PST 2013


On Thu, 28 Feb 2013, Simen Kj?r?s wrote:

> On Thu, 28 Feb 2013 16:22:49 +0100, D-ratiseur
> <ThisAdressDoesntExist at nowhere.fr> wrote:
> 
> > Hello, Is it possible for an ASM function to be inlined in D?
> 
> Nope.

To be a little more accurate:  it's possible in the technical sense.  No D 
compiler today does it automatically.  There's no way with DMD to force 
it, but might be with GDC and/or LDC.

The lack of inlining in a number of cases that seem like they should is a 
quality of implementation issue and not a language definition issue.


More information about the Digitalmars-d-learn mailing list