Related articles |
---|
automatic inlining? dash@hpbs3308.boi.hp.com (1996-02-23) |
Re: automatic inlining? jmattson@hpax.cup.hp.com (Jim Mattson) (1996-02-23) |
Re: automatic inlining? brianmcg@interaccess.com (1996-02-24) |
Re: automatic inlining? snovack@justright.ICS.UCI.EDU (Steven Novack) (1996-02-24) |
Re: automatic inlining? jejones@microware.com (1996-03-08) |
From: | jejones@microware.com (James Jones) |
Newsgroups: | comp.compilers |
Date: | 8 Mar 1996 00:12:08 -0500 |
Organization: | Microware Systems Corp., Des Moines, Iowa |
References: | 96-02-273 |
Keywords: | optimize |
dash@hpbs3308.boi.hp.com (Dan Ash) writes:
>Do any of the current compilers do the following?
>
>If a function is called from only one place does the compiler in-line
>the code.
Yes, there are compilers that do it; ours do. The function in
question should either be static, or the intermediate code optimizer
has to be told it's OK with an option. (I believe the latter is done
for you when you link at the intermediate code level.)
James Jones
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.