From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e8164763d1f73294 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: comp.lang.ada Subject: Re: inline expansion References: <1166649100.107626.64210@48g2000cwx.googlegroups.com> <1166652217.037740.272730@t46g2000cwa.googlegroups.com> <458A4E08.1010305@users.sourceforge.net> From: Markus E Leypold Organization: N/A Date: Fri, 22 Dec 2006 11:57:13 +0100 Message-ID: User-Agent: Some cool user agent (SCUG) Cancel-Lock: sha1:4Yr1ThdxCmuK0xv2yVY5IKt+xdQ= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 88.72.224.204 X-Trace: news.arcor-ip.de 1166784816 88.72.224.204 (22 Dec 2006 11:53:36 +0200) X-Complaints-To: abuse@arcor-ip.de Path: g2news2.google.com!news1.google.com!news4.google.com!news.glorb.com!newsfeed.kamp.net!newsfeed.kamp.net!news.unit0.net!newsfeed.arcor-ip.de!news.arcor-ip.de!not-for-mail Xref: g2news2.google.com comp.lang.ada:7986 Date: 2006-12-22T11:57:13+01:00 List-Id: Stephen Leake writes: > Martin Krischik writes: > >> Note that GNAT can't do inline expansion without the body - other Ada >> compiler are better in that respect. > > How can you do inline expansion without the code that is being > inlined? By not using the usual object files (which are mostly a memory image plus relocation info), instead storing a more highlevel description of the compiled code and doing inlining during linking? I admit I don't know what I'm talking about, but that would be how I'd try to implement this feature. Regards -- Markus