[LLVMdev] Say hi to VMKit: JVM/LLVM, CLI/LLVM

Török Edwin edwintorok at gmail.com
Tue Mar 25 13:58:25 PDT 2008


Anton Korobeynikov wrote:
> Hello, Edwin
>   
Hi Anton,

>> Probably there are more 64-bit issues to solve. Unfortunately I don't
>> have time to look into this deeper now.
>>     
> At least these "4" looks pretty suspicious:
>
> -      (void *)gcset((gc **)((unsigned int)this + nbb + 4 - sizeof(void
> *)), 
> +      (void *)gcset((gc **)((size_t)this + nbb + 4 - sizeof(void *)), 
>                              (Object*)m);
>   

Good point.

I think it would be best to review the code Class by Class to locate
64-bit problems.
Having unit-tests for this code would make this a lot easier ....

Maybe somebody participating at GSoC could take care of this ;)

Best regards,
--Edwin



More information about the llvm-dev mailing list