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
This commit is contained in:
Kazu Hirata 2009-04-16 18:46:32 +00:00 committed by Kazu Hirata
parent 4252a4aaf7
commit 43dd320186
3 changed files with 5 additions and 12 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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

View File

@ -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);