This is needed for native stack trace printing Signed-off-by: Tomek Grabiec <tgrab...@gmail.com> --- vm/call.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/vm/call.c b/vm/call.c index 6041494..11c9dca 100644 --- a/vm/call.c +++ b/vm/call.c @@ -64,9 +64,10 @@ vm_call_method_a(struct vm_method *method, unsigned long *args) target = vm_method_call_ptr(method); if (vm_method_is_jni(method)) { - if (vm_enter_jni(__builtin_frame_address(0), 0, method)) + if (vm_enter_jni(__builtin_frame_address(0), + (unsigned long) &&call_site, method)) return -1; - + call_site: native_call(target, args, method->args_count, result); vm_leave_jni(); goto out; -- 1.6.0.6 ------------------------------------------------------------------------------ _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel