This defines itable_resolver_stub_error() on x86-64 just like it is defined on x86-32, except for the regparm attribute (since x86-64 already uses registers for passing arguments).
Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> --- arch/x86/emit-code.c | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/x86/emit-code.c b/arch/x86/emit-code.c index 4c81f22..ea96a03 100644 --- a/arch/x86/emit-code.c +++ b/arch/x86/emit-code.c @@ -3071,6 +3071,19 @@ void *emit_itable_resolver_stub(struct vm_class *vmc, return NULL; } +void itable_resolver_stub_error(struct vm_method *method, struct vm_object *obj) +{ + fprintf(stderr, "itable resolver stub error!\n"); + fprintf(stderr, "invokeinterface called on method %s.%s%s " + "(itable index %d)\n", + method->class->name, method->name, method->type, + method->itable_index); + fprintf(stderr, "object class %s\n", obj->class->name); + + print_trace(); + abort(); +} + void emit_jni_trampoline(struct buffer *buf, struct vm_method *vmm, void *target) -- 1.6.0.6 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel