Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
---
 jit/trace-jit.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/jit/trace-jit.c b/jit/trace-jit.c
index 0246c3b..1bde5e1 100644
--- a/jit/trace-jit.c
+++ b/jit/trace-jit.c
@@ -811,8 +811,10 @@ void trace_return_value(struct vm_method *vmm, unsigned 
long 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) {
+               trace_flush();
                return;
+       }
 
        trace_printf("%12s: ", get_vm_type_name(type));
        print_arg(type,(unsigned long *)  &value, &dummy);
-- 
1.6.3.3


------------------------------------------------------------------------------
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

Reply via email to