[kaffe] jit3, slots and float args

Artur Biesiadowski abies@pg.gda.pl
Tue, 10 Sep 2002 14:21:16 +0200


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