Commit 8a1b6388 by Trevor Saunders Committed by Trevor Saunders

make noop_move_p take a rtx_insn *

gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* rtlanal.c (noop_move_p): Change argument type to rtx_insn *.
	* rtl.h: Adjust.

From-SVN: r222943
parent 9b8d3c60
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* rtlanal.c (noop_move_p): Change argument type to rtx_insn *.
* rtl.h: Adjust.
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* rtlanal.c (add_shallow_copy_of_reg_note): Change argument type
to rtx_insn *.
* rtl.h: Adjust.
......
......@@ -2844,7 +2844,7 @@ extern int modified_in_p (const_rtx, const_rtx);
extern int reg_set_p (const_rtx, const_rtx);
extern int multiple_sets (const_rtx);
extern int set_noop_p (const_rtx);
extern int noop_move_p (const_rtx);
extern int noop_move_p (const rtx_insn *);
extern bool refers_to_regno_p (unsigned int, unsigned int, const_rtx, rtx *);
extern int reg_overlap_mentioned_p (const_rtx, const_rtx);
extern const_rtx set_of (const_rtx, const_rtx);
......
......@@ -1368,7 +1368,7 @@ set_noop_p (const_rtx set)
value to itself. */
int
noop_move_p (const_rtx insn)
noop_move_p (const rtx_insn *insn)
{
rtx pat = PATTERN (insn);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment