diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-08 08:08:56 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-08 08:08:56 +0000 |
commit | 07e8c04c5c9fd05187e0135a6c00b55daea82410 (patch) | |
tree | 82cf8d02cbdec1663fdfa61ae2f02250a8f504bc /gcc/cp/name-lookup.h | |
parent | 611234b4a911bea129f06d829c2077155c3ed5ae (diff) | |
download | ppe42-gcc-07e8c04c5c9fd05187e0135a6c00b55daea82410.tar.gz ppe42-gcc-07e8c04c5c9fd05187e0135a6c00b55daea82410.zip |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87179 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/name-lookup.h')
-rw-r--r-- | gcc/cp/name-lookup.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/name-lookup.h b/gcc/cp/name-lookup.h index 892303b565f..e03f8ec9339 100644 --- a/gcc/cp/name-lookup.h +++ b/gcc/cp/name-lookup.h @@ -91,7 +91,7 @@ typedef struct cxx_saved_binding GTY(()) tree real_type_value; } cxx_saved_binding; -DEF_VEC_O(cxx_saved_binding); +DEF_VEC_GC_O(cxx_saved_binding); extern tree identifier_type_value (tree); extern void set_identifier_type_value (tree, tree); @@ -132,7 +132,7 @@ typedef struct cp_class_binding GTY(()) tree identifier; } cp_class_binding; -DEF_VEC_O(cp_class_binding); +DEF_VEC_GC_O(cp_class_binding); /* For each binding contour we allocate a binding_level structure which records the names defined in that contour. |