diff options
author | Richard Guenther <rguenther@suse.de> | 2010-06-17 16:14:41 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-06-17 16:14:41 +0000 |
commit | 3a6206615ecc75936dfa4f548a9cdd8597173c4b (patch) | |
tree | fa33eacb8bc2dfc89d5247c4aadf57587663190f /gcc/tree-flow-inline.h | |
parent | b56a5e1fa30d8ec435ebce9e79ba1a32f0fa97bf (diff) | |
download | gcc-3a6206615ecc75936dfa4f548a9cdd8597173c4b.zip gcc-3a6206615ecc75936dfa4f548a9cdd8597173c4b.tar.gz gcc-3a6206615ecc75936dfa4f548a9cdd8597173c4b.tar.bz2 |
tree-flow-inline.h (array_ref_contains_indirect_ref): Remove.
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.
From-SVN: r160933
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 b1e1251..7e93537 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. */ |