aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-09-08 08:08:56 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-09-08 08:08:56 +0000
commit4c254e68ed108c49daf413213136f6d025bce6ba (patch)
tree82cf8d02cbdec1663fdfa61ae2f02250a8f504bc /gcc/tree.h
parent5b0264cb4d7a017784253061843a52f7776a3942 (diff)
downloadgcc-4c254e68ed108c49daf413213136f6d025bce6ba.zip
gcc-4c254e68ed108c49daf413213136f6d025bce6ba.tar.gz
gcc-4c254e68ed108c49daf413213136f6d025bce6ba.tar.bz2
vec.c (vec_p_reserve, [...]): Rename to ...
* vec.c (vec_p_reserve, vec_o_reserve): Rename to ... (vec_gc_p_reserve, vec_gc_o_reserve): ... here. Clone to (vec_heap_p_reserve, vec_heap_o_reserve): ... here, adjust. (vec_gc_free, vec_heap_free): New. * vec.h (DEF_VEC_GC_P, DEF_VEC_MALLOC_P): New. (DEF_VEC_P): Add allocator argument. Adjust. (DEF_VEC_GC_O, DEF_VEC_MALLOC_O): New. (DEF_VEC_O): Add allocator argument. Adjust. (VEC(free)): New. * tree.h (tree): Define a GC'd vector. * lamba-code.c (lambda_loop): Likewise. * value-prof.h (histogram_value): Likewise. * cp/cp-tree.h (tree_pair_s): Likewise. * cp/name-lookup.h (cxx_saved_binding, cp_class_binding): Likewise. * cp/semantics.c (deferred_access): Likewise. From-SVN: r87179
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 7d6d87c..c23ec7c 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -76,8 +76,8 @@ extern const unsigned char tree_code_length[];
extern const char *const tree_code_name[];
-/* A vector of trees. */
-DEF_VEC_P(tree);
+/* A garbage collected vector of trees. */
+DEF_VEC_GC_P(tree);
/* Classify which part of the compiler has defined a given builtin function.