aboutsummaryrefslogtreecommitdiff
path: root/gcc/bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/bitmap.h')
-rw-r--r--gcc/bitmap.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/bitmap.h b/gcc/bitmap.h
index 411443f3..b6edc24 100644
--- a/gcc/bitmap.h
+++ b/gcc/bitmap.h
@@ -78,9 +78,7 @@ typedef struct GTY(()) bitmap_head_def {
unsigned int indx; /* Index of last element looked at. */
bitmap_obstack *obstack; /* Obstack to allocate elements from.
If NULL, then use GGC allocation. */
-#ifdef GATHER_STATISTICS
struct bitmap_descriptor GTY((skip)) *desc;
-#endif
} bitmap_head;
/* Global data */
@@ -166,9 +164,8 @@ bitmap_initialize_stat (bitmap head, bitmap_obstack *obstack MEM_STAT_DECL)
{
head->first = head->current = NULL;
head->obstack = obstack;
-#ifdef GATHER_STATISTICS
- bitmap_register (head PASS_MEM_STAT);
-#endif
+ if (GATHER_STATISTICS)
+ bitmap_register (head PASS_MEM_STAT);
}
#define bitmap_initialize(h,o) bitmap_initialize_stat (h,o MEM_STAT_INFO)