On Sat, 15 May 2004 18:32:39 +0200
Guilhem Lavaux <[EMAIL PROTECTED]> wrote:

> There will be a slight performance loss for JIT 
> though: currently the JIT is putting the pointers to translated methods 
> directly in the vtable. To be compatible with intrp and other way of 
> handling methods we must put a pointer to Method. 

Why do we have to put a pointer to Method into the vtable to be
compatible? Have you considered modifying intrp so it stores a
pointer to the bytecode in the vtable (and allocates the bytecode
so that GC_getObjectBase(address of some bytecode) returns the
address of the Method* the bytecode belongs to)? And what happens
to xdebugging when the vtable doesn't contain a pointer to the
code of the method?

Regards,
Helmer

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to