[kaffe] kaffe.def commands

Dalibor Topic robilad at kaffe.org
Mon Feb 21 02:46:25 PST 2005

Guilhem Lavaux wrote:
> Michael Franz wrote:
>> Hi,
>> I have been going over kaffe.def and slots.h to figure out how the
>> interpreter works.  I understand what the slots.h macros are doing
>> (stack, pop, push, ....) but I don't understand what the logical
>> difference is amoung rstack, wstack and stack?  I am thinking Read
>> stack, Write stack and just a generic stack accessor.  Is this at all
>> correct?
> Yes. Correct. (Look at jit3/slots.h and jit/slots.h)

I think we should simply have read_stack() and write_stack() functions, 
instead of the macros, and the stack() macro rewritten according to its 
use to employ the former or the latter.

dalibor topic

More information about the kaffe mailing list