aboutsummaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2009-04-16 18:46:32 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2009-04-16 18:46:32 +0000
commit43dd320186c8036fb50d96100979ba915a168130 (patch)
treea918e8d44b8092fa898d1cb0814d4dba60c5049b /gcc/emit-rtl.c
parent4252a4aaf7888baae568b1bb9d574dddea4456b6 (diff)
downloadgcc-43dd320186c8036fb50d96100979ba915a168130.zip
gcc-43dd320186c8036fb50d96100979ba915a168130.tar.gz
gcc-43dd320186c8036fb50d96100979ba915a168130.tar.bz2
emit-rtl.c (set_mem_attrs_from_reg): Remove.
* emit-rtl.c (set_mem_attrs_from_reg): Remove. * rtl.h: Remove the prototype for set_mem_attrs_from_reg. From-SVN: r146212
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r--gcc/emit-rtl.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index 1f51e12..1c10a3a 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -1858,17 +1858,6 @@ set_mem_attributes (rtx ref, tree t, int objectp)
set_mem_attributes_minus_bitpos (ref, t, objectp, 0);
}
-/* Set MEM to the decl that REG refers to. */
-
-void
-set_mem_attrs_from_reg (rtx mem, rtx reg)
-{
- MEM_ATTRS (mem)
- = get_mem_attrs (MEM_ALIAS_SET (mem), REG_EXPR (reg),
- GEN_INT (REG_OFFSET (reg)),
- MEM_SIZE (mem), MEM_ALIGN (mem), GET_MODE (mem));
-}
-
/* Set the alias set of MEM to SET. */
void