[kaffe] Re: jit3 64 bit bug?

Svante Arvedahl exsvaar at softlab.se
Wed Jul 31 08:31:19 PDT 2002


(continuing since I happened to send the first fraction unintentionally)
_slot_const_const(SlotInfo* dst, jword s1, jword s2, ifunc f, int type)
in basecode.c does:
seq->u[1].value.i = s1;

where s1 = (jword)l but seq->u[1].value.i is at maximum 32 bit !!

Svante


Svante Arvedahl wrote:
> 
> Has the jit3 been ported to any 64 bit architectures yet?
> I might have found something nasty:
> 
> When prologue(Method* meth) in jit3/icode.c is called it calls
> _slot_const_const(0, (jword)l, (jword)meth, HAVE_prologue, Tnull);
> (via the slot_const_const macro)
> where l is a label pointer (64 bit in my case)




More information about the kaffe mailing list