diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-04-27 15:58:47 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-04-27 15:58:47 +0000 |
commit | d2fce91b57927da819a1489798510865b88fb4ce (patch) | |
tree | d71c2914f1601c75fef11dea8905ac7f1abc91bb /gcc/tree-flow.h | |
parent | 2f1105a1b317853e2614c791de2e997d26cab98d (diff) | |
download | gcc-d2fce91b57927da819a1489798510865b88fb4ce.zip gcc-d2fce91b57927da819a1489798510865b88fb4ce.tar.gz gcc-d2fce91b57927da819a1489798510865b88fb4ce.tar.bz2 |
tree-flow.h (ssa_names): Change the type to VEC(tree,gc).
* tree-flow.h (ssa_names): Change the type to VEC(tree,gc).
(num_ssa_names): Use VEC_length.
(ssa_names): Use VEC_index.
* tree-ssanames.c (ssa_names): Change the type to
VEC(tree,gc).
(init_ssanames, fini_ssa_names, make_ssanames,
release_ssa_name): Update uses of ssa_names.
From-SVN: r98843
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r-- | gcc/tree-flow.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index 378599e..9fb4ff2 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -416,10 +416,10 @@ extern GTY(()) varray_type referenced_vars; #define referenced_var(i) VARRAY_TREE (referenced_vars, i) /* Array of all SSA_NAMEs used in the function. */ -extern GTY(()) varray_type ssa_names; +extern GTY(()) VEC(tree,gc) *ssa_names; -#define num_ssa_names VARRAY_ACTIVE_SIZE (ssa_names) -#define ssa_name(i) VARRAY_TREE (ssa_names, i) +#define num_ssa_names (VEC_length (tree, ssa_names)) +#define ssa_name(i) (VEC_index (tree, ssa_names, (i))) /* Artificial variable used to model the effects of function calls. */ extern GTY(()) tree global_var; |