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.
cheers, dalibor topic
_______________________________________________ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe