Do not print return value when return type is not supported. Signed-off-by: Tomek Grabiec <tgrab...@gmail.com> --- jit/trace-jit.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/jit/trace-jit.c b/jit/trace-jit.c index bd95744..b03108a 100644 --- a/jit/trace-jit.c +++ b/jit/trace-jit.c @@ -681,13 +681,11 @@ void trace_return_value(struct vm_method *vmm, unsigned long value) trace_printf("trace return: %s.%s%s\n", vmm->class->name, vmm->name, vmm->type); - if (type == J_VOID) + if (type == J_VOID || type == J_LONG || type == J_FLOAT || + type == J_DOUBLE) return; trace_printf("%12s: ", get_vm_type_name(type)); - print_arg(type, &value, &dummy); - trace_printf("\n"); - trace_flush(); } -- 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