diff options
author | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-10 17:23:49 +0000 |
---|---|---|
committer | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-10 17:23:49 +0000 |
commit | f7741cb166d978ce30a573a0905f7aad4eac9ccd (patch) | |
tree | e1aebf7e655deddbb9685829f76a4937d5270573 /gcc/tree-dfa.c | |
parent | cdc350530e6077a937b4b3d311a65ed7fea58b26 (diff) | |
download | gcc-f7741cb166d978ce30a573a0905f7aad4eac9ccd.tar.gz |
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: svn+ssh://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.c | 12 |
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 |