diff options
author | Richard Guenther <rguenther@suse.de> | 2008-04-15 13:28:08 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2008-04-15 13:28:08 +0000 |
commit | 649caaad399d6f4865a4d0015a1ac76c3cce7eb0 (patch) | |
tree | 9098d5ac54a9f0a83f6c1809c9d7cb33b7f481de /gcc/tree-ssa-sccvn.h | |
parent | 462c31ef75b495fd95f18a91864c471d2cb76494 (diff) | |
download | gcc-649caaad399d6f4865a4d0015a1ac76c3cce7eb0.zip gcc-649caaad399d6f4865a4d0015a1ac76c3cce7eb0.tar.gz gcc-649caaad399d6f4865a4d0015a1ac76c3cce7eb0.tar.bz2 |
tree-ssa-sccvn.h (vn_reference_lookup): Adjust prototype.
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.
From-SVN: r134314
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 55d9831..ecc3297 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); |