diff options
author | Diego Novillo <dnovillo@redhat.com> | 2006-03-01 22:35:42 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2006-03-01 17:35:42 -0500 |
commit | 18cd8a03f87fb12895109b72832cbdcc27b39c69 (patch) | |
tree | 01a72a7a29f8e1046cda441db6c683b0feeb510d /gcc/tree-ssa-sink.c | |
parent | 61321991ff5f055015750ddf36444705b9921464 (diff) | |
download | gcc-18cd8a03f87fb12895109b72832cbdcc27b39c69.zip gcc-18cd8a03f87fb12895109b72832cbdcc27b39c69.tar.gz gcc-18cd8a03f87fb12895109b72832cbdcc27b39c69.tar.bz2 |
tree.def (SYMBOL_MEMORY_TAG): Rename from TYPE_MEMORY_TAG.
* tree.def (SYMBOL_MEMORY_TAG): Rename from TYPE_MEMORY_TAG.
Update all users.
* tree-pass.h (PROP_smt_usage): Rename from PROP_tmt_usage.
Update all users.
(TODO_update_smt_usage): Rename from TODO_update_tmt_usage.
Update all users.
* tree.h (SMT_USED_ALONE): Rename from TMT_USED_ALONE.
Update all users.
* tree-flow.h (struct var_ann_d): Rename field 'type_mem_tag'
to 'symbol_mem_tag'.
Update all users.
* doc/tree-ssa.texi: Update documentation to reflect TMT->SMT
rename.
From-SVN: r111617
Diffstat (limited to 'gcc/tree-ssa-sink.c')
-rw-r--r-- | gcc/tree-ssa-sink.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-ssa-sink.c b/gcc/tree-ssa-sink.c index 3242f3f..7e4e142 100644 --- a/gcc/tree-ssa-sink.c +++ b/gcc/tree-ssa-sink.c @@ -168,7 +168,7 @@ is_hidden_global_store (tree stmt) variable. Therefore, we check the base address of the LHS. If the - address is a pointer, we check if its name tag or type tag is + address is a pointer, we check if its name tag or symbol tag is a global variable. Otherwise, we check if the base variable is a global. */ lhs = TREE_OPERAND (stmt, 0); @@ -194,12 +194,12 @@ is_hidden_global_store (tree stmt) tree ptr = TREE_OPERAND (lhs, 0); struct ptr_info_def *pi = SSA_NAME_PTR_INFO (ptr); tree nmt = (pi) ? pi->name_mem_tag : NULL_TREE; - tree tmt = var_ann (SSA_NAME_VAR (ptr))->type_mem_tag; + tree smt = var_ann (SSA_NAME_VAR (ptr))->symbol_mem_tag; - /* If either the name tag or the type tag for PTR is a + /* If either the name tag or the symbol tag for PTR is a global variable, then the store is necessary. */ if ((nmt && is_global_var (nmt)) - || (tmt && is_global_var (tmt))) + || (smt && is_global_var (smt))) { return true; } |