summaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.c
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-25 20:40:19 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-25 20:40:19 +0000
commit58945f46ee25bc7726693138162bff46a561167e (patch)
tree54861b0a1582c4f710468a1bd763755e8608d2db /gcc/emit-rtl.c
parent0c4d52cf5656840fa1097a455f9c22f1a25b2924 (diff)
downloadgcc-58945f46ee25bc7726693138162bff46a561167e.tar.gz
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". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214475 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r--gcc/emit-rtl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index aaf9c7d0858..84594d892b6 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -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))