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 implement it in
vmcore sources.

What exact functionality do you need?

On 10/21/06, Maksim Ananjev <[EMAIL PROTECTED]> 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.

/working_vm/vm/include/open/hythread.h:114: error: `I_64' was not
declared in this scope

Well, I_64 is typedef-ed in platform specific way in hycomp.h, however
this file is included into hythread.h

/working_vm/vm/vmcore/include/Class.h:1056: error: invalid application
of `sizeof' to incomplete type `TypeDesc'

ТypeDesc is indeed incomplete here, because its method
"load_type_desc" is defined in "java_type.h" and this file includes
classloader.h, which includes class.h. Looks like kind of cyclic
dependance.

But Class.h is successfully compiled everywhere but in jit.

Suggestions. how to fix this?

Тhanks

--
Maksim




--
Mikhail Fursov

Reply via email to