Re: inline keyword and profiling

Chris Pickett <[email protected]> Fri, 04 Feb 2005 19:27:42 -0500
Newsgroups gmane.comp.java.vm.sablevm.devel
Message-ID <[email protected]>
Chris Pickett wrote:
> Hi,
> 
> I was wondering: it seems the inline keyword might have an effect on 
> profiling.  Should we replace all inline's with svm_inline, just like we 
> now have svm_static?

Actually man gcc says:

-fno-inline
     Don't pay attention to the "inline" keyword.  Normally this option
     is used to keep the compiler from expanding any functions inline.
     Note that if you are not optimizing, no functions can be expanded
     inline.

which I guess means there is no inlining with 
--enable-debugging-features (implies -O0).

Chris