Re: [drlvm][jit] Using Class.h in translator

2006-10-24 Thread Maksim Ananjev
23.10.06, Pavel Pervov<[EMAIL PROTECTED]> написал(а): Maksim, Am I right, that at the place you need to retrieve field from a class, you have both field's name AND descriptor? If so, you should move definion of FIeld* class_lookup_field_recursive(Class*, const char*, const char*) from vmcore/inc

Re: [drlvm][jit] Using Class.h in translator

2006-10-23 Thread Pavel Pervov
Maksim, Am I right, that at the place you need to retrieve field from a class, you have both field's name AND descriptor? If so, you should move definion of FIeld* class_lookup_field_recursive(Class*, const char*, const char*) from vmcore/include/Class.h to include/jit_intf.h and change its prot

Re: [drlvm][jit] Using Class.h in translator

2006-10-21 Thread Mikhail Fursov
On 10/21/06, Maksim Ananjev <[EMAIL PROTECTED]> wrote: 21.10.06, Mikhail Fursov<[EMAIL PROTECTED]> wrote: > AFAIK the vm/vmcore/include/Class.h is vmcore internal header and was never > included in JIT. > To use its functionality you should declare the method you need in > vm/include/open/vm.h

Re: [drlvm][jit] Using Class.h in translator

2006-10-21 Thread Maksim Ananjev
21.10.06, Mikhail Fursov<[EMAIL PROTECTED]> wrote: AFAIK the vm/vmcore/include/Class.h is vmcore internal header and was never included in JIT. To use its functionality you should declare the method you need in vm/include/open/vm.h or in vm/include/open/*class*.h file Thanks! The way you descr

Re: [drlvm][jit] Using Class.h in translator

2006-10-20 Thread Gregory Shimansky
On Saturday 21 October 2006 05:05 Rana Dasgupta wrote: > On 10/20/06, Gregory Shimansky <[EMAIL PROTECTED]> wrote: > > >But you are right, the dependencies graph of all VM internal >headers is > > > > a huge > > > > >tangle which should be untangled somehow. Hopefully the > Class.h > > > cleanup >

Re: [drlvm][jit] Using Class.h in translator

2006-10-20 Thread Rana Dasgupta
On 10/20/06, Gregory Shimansky <[EMAIL PROTECTED]> wrote: >But you are right, the dependencies graph of all VM internal >headers is a huge >tangle which should be untangled somehow. Hopefully the > Class.h cleanup which >Pavel is doing now will make a first step in the right direction. Is thi

Re: [drlvm][jit] Using Class.h in translator

2006-10-20 Thread Gregory Shimansky
On Saturday 21 October 2006 01:09 Maksim Ananjev wrote: > Hi! > > I want to use some types defined in Class.h in translator (nothing > weird here, really?) so I have to include "Сlass.h" into > "DrlVMCompilationInterface.cpp" > > But after having it included I get strange compiler errors. > > /work

Re: [drlvm][jit] Using Class.h in translator

2006-10-20 Thread Mikhail Fursov
Maksim AFAIK the vm/vmcore/include/Class.h is vmcore internal header and was never included in JIT. To use its functionality you should declare the method you need in vm/include/open/vm.h or in vm/include/open/*class*.h file (sorry I do not have not svn copy to check the exact name right now) and

[drlvm][jit] Using Class.h in translator

2006-10-20 Thread Maksim Ananjev
Hi! I want to use some types defined in Class.h in translator (nothing weird here, really?) so I have to include "Сlass.h" into "DrlVMCompilationInterface.cpp" But after having it included I get strange compiler errors. /working_vm/vm/include/open/hythread.h:114: error: `I_64' was not declared