diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2009-04-16 18:46:32 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2009-04-16 18:46:32 +0000 |
commit | 43dd320186c8036fb50d96100979ba915a168130 (patch) | |
tree | a918e8d44b8092fa898d1cb0814d4dba60c5049b /gcc | |
parent | 4252a4aaf7888baae568b1bb9d574dddea4456b6 (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/emit-rtl.c | 11 | ||||
-rw-r--r-- | gcc/rtl.h | 1 |
3 files changed, 5 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6d1f9a9..7190d19 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2009-04-16 Kazu Hirata <kazu@codesourcery.com> + * emit-rtl.c (set_mem_attrs_from_reg): Remove. + * rtl.h: Remove the prototype for set_mem_attrs_from_reg. + +2009-04-16 Kazu Hirata <kazu@codesourcery.com> + * tree-iterator.c (EXPR_LAST_BODY): Remove. 2009-04-16 Kazu Hirata <kazu@codesourcery.com> 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 @@ -1493,7 +1493,6 @@ extern rtx copy_insn (rtx); extern rtx gen_int_mode (HOST_WIDE_INT, enum machine_mode); extern rtx emit_copy_of_insn_after (rtx, rtx); extern void set_reg_attrs_from_value (rtx, rtx); -extern void set_mem_attrs_from_reg (rtx, rtx); extern void set_reg_attrs_for_parm (rtx, rtx); extern void adjust_reg_mode (rtx, enum machine_mode); extern int mem_expr_equal_p (const_tree, const_tree); |