Surinx + backport

John Rose John.Rose at Sun.COM
Fri Sep 11 16:32:45 PDT 2009


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".

Thanks, I'll roll this into my next push if Christian doesn't get  
there first.

-- John


More information about the mlvm-dev mailing list