aboutsummaryrefslogtreecommitdiff
path: root/gcc/bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/bitmap.h')
-rw-r--r--gcc/bitmap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/bitmap.h b/gcc/bitmap.h
index 24e987f420a..c0499581206 100644
--- a/gcc/bitmap.h
+++ b/gcc/bitmap.h
@@ -556,4 +556,9 @@ bmp_iter_and_compl (bitmap_iterator *bi, unsigned *bit_no)
bmp_iter_and_compl (&(ITER), &(BITNUM)); \
bmp_iter_next (&(ITER), &(BITNUM)))
+/* APPLE LOCAL begin loops-to-memset */
+/* True if MAP is an empty bitmap. */
+#define bitmap_empty_p(MAP) (!(MAP)->first)
+/* APPLE LOCAL end loops-to-memset */
+
#endif /* GCC_BITMAP_H */