aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-dfa.c
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dbrelin.org>2005-11-10 17:23:49 +0000
committerDaniel Berlin <dberlin@dbrelin.org>2005-11-10 17:23:49 +0000
commit2116156cca338e1c7871357be67f2c7cc87523f9 (patch)
treee1aebf7e655deddbb9685829f76a4937d5270573 /gcc/tree-dfa.c
parent2673dc903347be7accb4b1531fd76a55abb12576 (diff)
2005-11-10 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-alias.c (compute_may_aliases): Remove call to delete_old_heap_vars. * tree-dfa.c (referenced_var_remove): Remove function. * tree-ssa.c (init_tree_ssa): Call init_alias_heapvars. (delete_tree_ssa): Remove call to delete_old_heapvars. Add call to delete_alias_heapvars. * tree-flow.h (referenced_var_remove): Remove prototype (init_alias_heapvars): New prototype. (delete_alias_heapvars): Ditto. * Makefile.in (tree-ssa-structalias.o): Add gt-tree-ssa-structalias.o (GTFILES): Add tree-ssa-structalias.h and tree-ssa-structalias.c. (s-gtype): Add gt-tree-ssa-structalias.h. * tree-ssa-structalias.c (heapvars): Remove. (oldheapvars): Remove. (heapvar_for_stmt): New variable. (heapvar_lookup): New function. (heapvar_insert): Ditto. (get_constraint_for): See if we have an old heapvar to reuse. (init_alias_heapvars): New function. (delete_alias_heapvars): Ditto. Add include of gt-tree-ssa-structalias.h. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106743 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-dfa.c')
-rw-r--r--gcc/tree-dfa.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/tree-dfa.c b/gcc/tree-dfa.c
index 2ede8e6365b..9fc48d5cbe8 100644
--- a/gcc/tree-dfa.c
+++ b/gcc/tree-dfa.c
@@ -609,18 +609,6 @@ referenced_var_insert (unsigned int uid, tree to)
*(struct int_tree_map **) loc = h;
}
-/* Remove the pair DECL_UID (TO), TO from the referenced vars
- hashtable. */
-
-void
-referenced_var_remove (tree to)
-{
- struct int_tree_map in;
- in.uid = DECL_UID (to);
- in.to = to;
- htab_remove_elt_with_hash (referenced_vars, &in, in.uid);
-}
-
/* Add VAR to the list of dereferenced variables.
WALK_STATE contains a hash table used to avoid adding the same