[llvm] r173842 - Made certain small functions in PtrState inlined.

Michael Gottesman mgottesman at apple.com
Mon Feb 4 09:05:23 PST 2013


You got it. I will do it later today.

On Feb 4, 2013, at 2:28 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote:

> On Wed, Jan 30, 2013 at 2:46 AM, Bill Wendling <wendling at apple.com> wrote:
>> On Jan 29, 2013, at 2:29 PM, Michael Gottesman <mgottesman at apple.com> wrote:
>> 
>>> Author: mgottesman
>>> Date: Tue Jan 29 16:29:59 2013
>>> New Revision: 173842
>>> 
>>> URL: http://llvm.org/viewvc/llvm-project?rev=173842&view=rev
>>> Log:
>>> Made certain small functions in PtrState inlined.
>>> 
>> I thought that methods defined inside of the class automatically get the inline attribute. Are these not being inlined?
> 
> Michael,
> 
> Since r174317 the rule you requested on IRC is in coding standards :)
> 
> Dmitri
> 
> -- 
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/




More information about the llvm-commits mailing list