diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-17 16:14:41 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-17 16:14:41 +0000 |
commit | 31c2230048a8b72b8c7648d257ffdbb37b128b78 (patch) | |
tree | fa33eacb8bc2dfc89d5247c4aadf57587663190f /gcc/tree-flow-inline.h | |
parent | a9ce8fba2e0ce3878e6a7c4ac9b224d8d73c2b93 (diff) | |
download | gcc-31c2230048a8b72b8c7648d257ffdbb37b128b78.tar.gz |
2010-06-17 Richard Guenther <rguenther@suse.de>
* tree-flow-inline.h (array_ref_contains_indirect_ref): Remove.
* tree-flow.h (array_ref_contains_indirect_ref): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160933 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r-- | gcc/tree-flow-inline.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h index b1e1251c706..7e935378c81 100644 --- a/gcc/tree-flow-inline.h +++ b/gcc/tree-flow-inline.h @@ -1113,20 +1113,6 @@ unmodifiable_var_p (const_tree var) return TREE_READONLY (var) && (TREE_STATIC (var) || DECL_EXTERNAL (var)); } -/* Return true if REF, an ARRAY_REF, has an INDIRECT_REF somewhere in it. */ - -static inline bool -array_ref_contains_indirect_ref (const_tree ref) -{ - gcc_checking_assert (TREE_CODE (ref) == ARRAY_REF); - - do { - ref = TREE_OPERAND (ref, 0); - } while (handled_component_p (ref)); - - return TREE_CODE (ref) == INDIRECT_REF; -} - /* Return true if REF, a handled component reference, has an ARRAY_REF somewhere in it. */ |