[kaffe] jit3, slots and float args

Artur Biesiadowski abies00 at wp.pl
Tue Sep 10 05:21:16 PDT 2002


Svante Arvedahl wrote:

> That's what I was presuming but the integer load 'iload' in the
> following debug output of the first basic block in HashMap is trying to
> access localinfo[1].slot which is associated with the float argument. 
> 
> @0:     aload 0
> @1:     invokespecial 149
> @4:     iload 1
> @5:     iflt 14
> 
> Likewise the float load 'fload' in the next basic block is trying to
> access the localinfo[2].slot, which is associated with the third
> argument and thus not a float value.
> 
> @8:     fload 2
> @9:     fconst 0.000000
> @10:    fcmpg
> @11:    ifgt 22

First slot is always a 'this' pointer. Second and third are int,float in 
this case.


Artur





More information about the kaffe mailing list