on master help sign in
Removed commented out old code.

This commented out code was out of date, and would only cause errors when put back into the code. For instance the structures referenced in these comments have changed to the point where this is no longer relevant.

commit78c76feec101693b7bd8f8d29c31f64b0442c211 authorCalvin Beck <hobbes@ualberta.ca> dateWed 25 Feb 2015, 17:03 (12 years ago) parentd1e0d00
1 file changed−4
rts/idris_gc.c−4
rts/idris_gc.c−4
@@ -17,7 +17,6 @@ VAL copy(VM* vm, VAL x) {
1717 } else {
1818 allocCon(cl, vm, CTAG(x), ar, 1);
1919 for(i = 0; i < ar; ++i) {
20− // *argptr = copy(vm, *((VAL*)(x->info.c.args)+i)); // recursive version
2120 cl->info.c.args[i] = x->info.c.args[i];
2221 }
2322 }
@@ -90,9 +89,7 @@ void cheney(VM *vm) {
9089 case CON:
9190 ar = ARITY(heap_item);
9291 for(i = 0; i < ar; ++i) {
93− // printf("Copying %d %p\n", heap_item->info.c.tag, *argptr);
9492 VAL newptr = copy(vm, heap_item->info.c.args[i]);
95− // printf("Got %p\t\t%p %p\n", newptr, scan, vm->heap_next);
9693 heap_item->info.c.args[i] = newptr;
9794 }
9895 break;
@@ -111,7 +108,6 @@ void cheney(VM *vm) {
111108void idris_gc(VM* vm) {
112109 HEAP_CHECK(vm)
113110 STATS_ENTER_GC(vm->stats, vm->heap.size)
114− // printf("Collecting\n");
115111
116112 if (vm->heap.old != NULL)
117113 free(vm->heap.old);