aboutsummaryrefslogtreecommitdiff
path: root/gcc/bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/bitmap.h')
-rw-r--r--gcc/bitmap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/bitmap.h b/gcc/bitmap.h
index 4f27bdc..9b8875a 100644
--- a/gcc/bitmap.h
+++ b/gcc/bitmap.h
@@ -114,6 +114,10 @@ extern void debug_bitmap PROTO((bitmap));
#define BITMAP_ALLOCA() \
bitmap_initialize ((bitmap) alloca (sizeof (bitmap_head)))
+/* Allocate a bitmap with xmalloc. */
+#define BITMAP_XMALLOC() \
+ bitmap_initialize ((bitmap) xmalloc (sizeof (bitmap_head)))
+
/* Do any cleanup needed on a bitmap when it is no longer used. */
#define BITMAP_FREE(BITMAP) \
do { \