Surinx + backport

Christian Thalinger Christian.Thalinger at Sun.COM
Sat Sep 12 01:03:58 PDT 2009


John Rose wrote:
> On Sep 11, 2009, at 3:35 PM, Rémi Forax wrote:
> 
>> Christian,
>> the inlining patch currently doesn't work :(
>>
>> in methodHandleWalk.hpp (line 322) :
>>
>>   int cpool_oop_reference_put(int tag, int first_index, int  
>> second_index) {
>>     if (index == 0)  return 0;   // this line doesn't compile
> 
> That's pretty funny:  On some platforms index is an old alias for  
> strchr, after the a function name is auto-converted to a pointer and  
> the zero is auto-converted to a null, causes the expression to be  
> "valid".

Ha!  Thanks for the explanation, I didn't understand how this compiles
for me :-)

-- Christian


More information about the mlvm-dev mailing list