Signed-off-by: Tomek Grabiec <[email protected]>
---
jit/trace-jit.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/jit/trace-jit.c b/jit/trace-jit.c
index d7a3c5d..bd95744 100644
--- a/jit/trace-jit.c
+++ b/jit/trace-jit.c
@@ -454,6 +454,13 @@ static void print_arg(enum vm_type arg_type, const
unsigned long *args,
trace_printf("(%f)", value.fvalue);
}
+ if (arg_type == J_CHAR) {
+ char c = args[*arg_index] & 0xFF;
+
+ if (isprint(c))
+ trace_printf("('%c')", c);
+ }
+
if (arg_type == J_REFERENCE) {
struct vm_object *obj;
--
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel