summaryrefslogtreecommitdiff
path: root/gcc/varray.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-07 09:24:06 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-07 09:24:06 +0000
commit40977116f1eefb8672a9403f109f73461963545f (patch)
tree8f84c5a6db1901dc589ad46eae5388cda4a8d7fd /gcc/varray.h
parent1d1e21f3bf87c52c57390a0491a71cb0b948108a (diff)
downloadgcc-40977116f1eefb8672a9403f109f73461963545f.tar.gz
* ggc.h (struct rtx_def): Forward declare.
* print-rtl.c (debug_rtx_range): New. * rtl.h (debug_rtx_range): Declare. * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32996 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varray.h')
-rw-r--r--gcc/varray.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/varray.h b/gcc/varray.h
index 69482a9a315..4e9b62f8421 100644
--- a/gcc/varray.h
+++ b/gcc/varray.h
@@ -168,6 +168,9 @@ extern varray_type varray_grow PARAMS ((varray_type, size_t));
#define VARRAY_SIZE(VA) ((VA)->num_elements)
+#define VARRAY_ACTIVE_SIZE(VA) ((VA)->elements_used)
+#define VARRAY_POP_ALL(VA) ((VA)->elements_used = 0)
+
/* Check for VARRAY_xxx macros being in bound. */
#if defined ENABLE_CHECKING && (GCC_VERSION >= 2007)
extern void varray_check_failed PARAMS ((varray_type, size_t,