diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2010-06-18 15:51:37 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2010-06-18 15:51:37 +0000 |
commit | bc87224e9341b186905d8ac849aeb59463ae4f6b (patch) | |
tree | 099f2565c44bc86efadd0114c6699753ab14efa5 /gcc/function.h | |
parent | 76d971ccfb886e192d3d21705b1d9327d61f8827 (diff) | |
download | gcc-bc87224e9341b186905d8ac849aeb59463ae4f6b.zip gcc-bc87224e9341b186905d8ac849aeb59463ae4f6b.tar.gz gcc-bc87224e9341b186905d8ac849aeb59463ae4f6b.tar.bz2 |
function.h (types_used_by_cur_var_decl): Change type to a VEC.
gcc/
* function.h (types_used_by_cur_var_decl): Change type to a VEC.
* function.c (types_used_by_cur_var_decl): Likewise.
(used_types_insert): Adjust for new type of
types_used_by_cur_var_decl.
gcc/c-family/
* c-common.c (record_types_used_by_current_var_decl): Adjust for
new type of types_used_by_cur_var_decl.
From-SVN: r161001
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/function.h b/gcc/function.h index deb170d..6170348 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -645,9 +645,9 @@ hashval_t types_used_by_vars_do_hash (const void*); int types_used_by_vars_eq (const void *, const void *); void types_used_by_var_decl_insert (tree type, tree var_decl); -/* During parsing of a global variable, this linked list points to - the list of types referenced by the global variable. */ -extern GTY(()) tree types_used_by_cur_var_decl; +/* During parsing of a global variable, this vector contains the types + referenced by the global variable. */ +extern GTY(()) VEC(tree,gc) *types_used_by_cur_var_decl; /* cfun shouldn't be set directly; use one of these functions instead. */ |