vec.c (vec_p_reserve, [...]): Rename to ...
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 8 Sep 2004 08:08:56 +0000 (08:08 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 8 Sep 2004 08:08:56 +0000 (08:08 +0000)
commit4c254e68ed108c49daf413213136f6d025bce6ba
tree82cf8d02cbdec1663fdfa61ae2f02250a8f504bc
parent5b0264cb4d7a017784253061843a52f7776a3942
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
gcc/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/name-lookup.h
gcc/cp/semantics.c
gcc/lambda-code.c
gcc/tree.h
gcc/value-prof.h
gcc/vec.c
gcc/vec.h