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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,79bbf7e359159d0d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-11 04:59:41 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!btnet-peer!btnet!diablo.netcom.net.uk!netcom.net.uk!news.tele.dk!194.213.69.151!news.algonet.se!algonet!pepsi.tninet.se!not-for-mail From: Mats Karlssohn Newsgroups: comp.lang.ada Subject: Re: newbie can't get exceptions to work! Date: Wed, 11 Apr 2001 13:55:13 +0200 Organization: MIDA Systemutveckling AB Message-ID: <3AD44621.DEE2369F@mida.se> References: <3ACDB29E.45B91316@earthlink.net> <9ao1if$cq9$1@taliesin.netcom.net.uk> <3ACFC902.115624A1@mindspring.com> <3AD2AF50.6B5DD470@mida.se> <3AD33480.2A5E9CD9@home.com> NNTP-Posting-Host: sdu38-250.ppp.algonet.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: zingo.tninet.se 986990117 7693 195.163.250.38 (11 Apr 2001 11:55:17 GMT) X-Complaints-To: abuse@algo.net NNTP-Posting-Date: 11 Apr 2001 11:55:17 GMT X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: en Xref: supernews.google.com comp.lang.ada:6746 Date: 2001-04-11T11:55:17+00:00 List-Id: Mark Biggar wrote: > > Ted Dennison wrote: > > (Is pragma inline allowed for a dispatching call?) > > Sure, but like any progam inline there is nothing in the LRM that > requires that the compiler actually do anything with it. Remember, > a compiler is free to totaly ingore all pragma inlines. I imagine > that most (if not all) Ada compilers don't do anything special and > just ignore pragma inline on dymnamic dispatching calls. Without thinking it through, shouldn't it be quite easy just to replace the jump-to-subroutine in the (equivalent of a) case statement with the inlined code ? Maybe not, I guess it depends on how the lookup is done. -- Mats Karlssohn, developer mailto:mats@mida.se Mida Systemutveckling AB http://www.mida.se Box 64, S-732 22 ARBOGA, SWEDEN Phone: +46-(0)589-89808 Fax: +46-(0)589-89809