summaryrefslogtreecommitdiff
path: root/gcc/gimple.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2012-01-09 15:14:19 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2012-01-09 15:14:19 +0000
commit345ae17774bc0f8b527fa87c28ad7c6116b845bd (patch)
treef1670e405d630798297d4ba21644fe965549d789 /gcc/gimple.c
parent2c5cbc315fad590eb2a89d46c8397fcb9b9cc2ba (diff)
downloadgcc-345ae17774bc0f8b527fa87c28ad7c6116b845bd.tar.gz
gimple.c (is_gimple_non_addressable): Remove.
* gimple.c (is_gimple_non_addressable): Remove. * gimple.h: Remove is_gimple_non_addressable. * gimplify.c (gimplify_modify_expr_rhs): Use is_gimple_reg instead of is_gimple_non_addressable. * trans-mem.c (expand_assign_tm): Same. From-SVN: r183015
Diffstat (limited to 'gcc/gimple.c')
-rw-r--r--gcc/gimple.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/gimple.c b/gcc/gimple.c
index 1f8f1027128..9a6ed671f84 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -2963,17 +2963,6 @@ is_gimple_reg (tree t)
}
-/* Return true if T is a GIMPLE variable whose address is not needed. */
-
-bool
-is_gimple_non_addressable (tree t)
-{
- if (TREE_CODE (t) == SSA_NAME)
- t = SSA_NAME_VAR (t);
-
- return (is_gimple_variable (t) && ! needs_to_live_in_memory (t));
-}
-
/* Return true if T is a GIMPLE rvalue, i.e. an identifier or a constant. */
bool