Am Thu, 28 Feb 2013 14:33:15 -0800 (PST) schrieb Brad Roberts <bra...@puremagic.com>:
> On Thu, 28 Feb 2013, Simen Kj?r?s wrote: > > > On Thu, 28 Feb 2013 16:22:49 +0100, D-ratiseur > > <thisadressdoesntex...@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. IIRC gdc dropped support for dmd-style inline assembly. For gcc style inline assembly inlining should just work.