Signed-off-by: Vegard Nossum <[email protected]>
---
vm/itable.c | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/vm/itable.c b/vm/itable.c
index 6f93457..bf38d6b 100644
--- a/vm/itable.c
+++ b/vm/itable.c
@@ -189,6 +189,18 @@ static void *itable_create_conflict_resolver(struct
vm_class *vmc,
static void trace_itable(struct vm_class *vmc, struct list_head *itable)
{
+ bool empty = true;
+ for (unsigned int i = 0; i < VM_ITABLE_SIZE; ++i) {
+ if (list_is_empty(&itable[i]))
+ continue;
+
+ empty = false;
+ break;
+ }
+
+ if (empty)
+ return;
+
trace_printf("trace itable (duplicates included): %s\n", vmc->name);
for (unsigned int i = 0; i < VM_ITABLE_SIZE; ++i) {
@@ -212,6 +224,9 @@ static void trace_itable(struct vm_class *vmc, struct
list_head *itable)
c_vmm->class->name);
}
}
+
+ trace_printf("\n");
+ trace_flush();
}
int vm_itable_setup(struct vm_class *vmc)
--
1.6.0.4
------------------------------------------------------------------------------
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