diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-04-15 13:28:08 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-04-15 13:28:08 +0000 |
commit | fb05ee8785f73de2d7d97547ac9a9bd19fc0463e (patch) | |
tree | 9098d5ac54a9f0a83f6c1809c9d7cb33b7f481de /gcc/tree-ssa-sccvn.h | |
parent | dc543af159c1eeb5ca6fa36d88639f1b2010475a (diff) | |
download | gcc-fb05ee8785f73de2d7d97547ac9a9bd19fc0463e.tar.gz |
2008-04-15 Richard Guenther <rguenther@suse.de>
* tree-ssa-sccvn.h (vn_reference_lookup): Adjust prototype.
* tree-ssa-sccvn.c (vn_reference_lookup): New parameter maywalk.
(visit_reference_op_load): Do walk vuse-vdef chains on
vn_reference_lookup.
(visit_reference_op_store): But do not here.
* tree-vn.c (vn_lookup): Do not walk vuse-vdef chains on
vn_reference_lookup.
(vn_lookup_with_vuses): But do so here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134314 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-sccvn.h')
-rw-r--r-- | gcc/tree-ssa-sccvn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-sccvn.h b/gcc/tree-ssa-sccvn.h index 55d9831f504..ecc3297af42 100644 --- a/gcc/tree-ssa-sccvn.h +++ b/gcc/tree-ssa-sccvn.h @@ -59,7 +59,7 @@ void free_scc_vn (void); void switch_to_PRE_table (void); tree vn_nary_op_lookup (tree); void vn_nary_op_insert (tree, tree); -tree vn_reference_lookup (tree, VEC (tree, gc) *); +tree vn_reference_lookup (tree, VEC (tree, gc) *, bool); void vn_reference_insert (tree, tree, VEC (tree, gc) *); VEC (tree, gc) *shared_vuses_from_stmt (tree); VEC (tree, gc) *copy_vuses_from_stmt (tree); |