Commit 6bb9bf63 by David Malcolm Committed by David Malcolm

unshare_all_rtl_again takes an rtx_insn *

gcc/
	* rtl.h (unshare_all_rtl_again): Strengthen param "insn" from rtx
	to rtx_insn *.

	* emit-rtl.c (unshare_all_rtl_1): Likewise.
	(unshare_all_rtl_again): Likewise, also for local "p".

From-SVN: r214475
parent 373fc786
2014-08-25 David Malcolm <dmalcolm@redhat.com>
* rtl.h (unshare_all_rtl_again): Strengthen param "insn" from rtx
to rtx_insn *.
* emit-rtl.c (unshare_all_rtl_1): Likewise.
(unshare_all_rtl_again): Likewise, also for local "p".
2014-08-25 David Malcolm <dmalcolm@redhat.com>
* rtl.h (delete_insn_and_edges): Strengthen param "insn" from rtx
to rtx_insn *.
* cfgrtl.c (delete_insn_and_edges): Likewise.
......
......@@ -2529,7 +2529,7 @@ set_new_first_and_last_insn (rtx first, rtx last)
structure. This routine should only be called once. */
static void
unshare_all_rtl_1 (rtx insn)
unshare_all_rtl_1 (rtx_insn *insn)
{
/* Unshare just about everything else. */
unshare_all_rtl_in_chain (insn);
......@@ -2549,9 +2549,9 @@ unshare_all_rtl_1 (rtx insn)
should be done sparingly. */
void
unshare_all_rtl_again (rtx insn)
unshare_all_rtl_again (rtx_insn *insn)
{
rtx p;
rtx_insn *p;
tree decl;
for (p = insn; p; p = NEXT_INSN (p))
......
......@@ -3087,7 +3087,7 @@ extern void push_topmost_sequence (void);
extern void pop_topmost_sequence (void);
extern void set_new_first_and_last_insn (rtx, rtx);
extern unsigned int unshare_all_rtl (void);
extern void unshare_all_rtl_again (rtx);
extern void unshare_all_rtl_again (rtx_insn *);
extern void unshare_all_rtl_in_chain (rtx);
extern void verify_rtl_sharing (void);
extern void add_insn (rtx);
......
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