summaryrefslogtreecommitdiff
path: root/gcc/value-prof.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/value-prof.h
parent5b0264cb4d7a017784253061843a52f7776a3942 (diff)
downloadgcc-4c254e68ed108c49daf413213136f6d025bce6ba.tar.gz
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/value-prof.h')
-rw-r--r--gcc/value-prof.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/value-prof.h b/gcc/value-prof.h
index 60215fde30d..312b8bc6226 100644
--- a/gcc/value-prof.h
+++ b/gcc/value-prof.h
@@ -66,7 +66,7 @@ struct histogram_value_t GTY(())
typedef struct histogram_value_t *histogram_value;
-DEF_VEC_P(histogram_value);
+DEF_VEC_GC_P(histogram_value);
typedef VEC(histogram_value) *histogram_values;