From 0cc16f584aa0cf5f588e01dc4234809022f9bd22 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 28 Jul 2010 19:43:55 -0300 Subject: [PATCH] Remove obsolete unused variables --- rt/gc/cdgc/gc.d | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/rt/gc/cdgc/gc.d b/rt/gc/cdgc/gc.d index 1cec21d..83a96b2 100644 --- a/rt/gc/cdgc/gc.d +++ b/rt/gc/cdgc/gc.d @@ -138,19 +138,10 @@ alias GC gc_t; class GCLock { } // just a dummy so we can get a global lock -const uint GCVERSION = 1; // increment every time we change interface - // to GC. - Stats stats; class GC { - // For passing to debug code - static size_t line; - static char* file; - - uint gcversion = GCVERSION; - Gcx *gcx; // implementation static ClassInfo gcLock; // global lock @@ -1443,7 +1434,6 @@ struct Gcx size_t size_cache; uint noStack; // !=0 means don't scan stack - uint log; // turn on logging uint anychanges; void *stackBottom; uint inited; @@ -2183,13 +2173,11 @@ struct Gcx // Scan ranges debug(COLLECT_PRINTF) printf("scan ranges[]\n"); - //log++; for (n = 0; n < ranges.length; n++) { debug(COLLECT_PRINTF) printf("\t%x .. %x\n", ranges[n].pbot, ranges[n].ptop); mark_conservative(ranges[n].pbot, ranges[n].ptop); } - //log--; debug(COLLECT_PRINTF) printf("\tscan heap\n"); while (anychanges) -- 2.43.0