@@ -151,7 +151,9 @@ void idris_gcInfo(VM* vm, int doGC) {
151 printf("Final heap use %d\n", (int)(vm->heap.next - vm->heap.heap));
151 printf("Final heap use %d\n", (int)(vm->heap.next - vm->heap.heap));
152 if (doGC) { idris_gc(vm); }
152 if (doGC) { idris_gc(vm); }
153 printf("Final heap use after GC %d\n", (int)(vm->heap.next - vm->heap.heap));
153 printf("Final heap use after GC %d\n", (int)(vm->heap.next - vm->heap.heap));
154−
154+#ifdef IDRIS_ENABLE_STATS
155 printf("Total allocations %d\n", vm->stats.allocations);
155 printf("Total allocations %d\n", vm->stats.allocations);
156 printf("Number of collections %d\n", vm->stats.collections);
157 printf("Number of collections %d\n", vm->stats.collections);