summaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authortbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-05-09 04:17:49 +0000
committertbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-05-09 04:17:49 +0000
commit548a37a85cd54490e5ebb5a34816a189eb2a4845 (patch)
treef5802c089583d7573bb765bbf3851abf915d7f23 /gcc/jump.c
parent4da92723533a2b6ebe0296547b0af51ff9f398fc (diff)
downloadgcc-548a37a85cd54490e5ebb5a34816a189eb2a4845.tar.gz
redirect_jump* can take a rtx_insn *
gcc/ChangeLog: 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * jump.c: Change argument types to rtx_insn *. * rtl.h: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222959 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/jump.c')
-rw-r--r--gcc/jump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/jump.c b/gcc/jump.c
index 513eb6e7741..a8ab1cc9517 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -1545,7 +1545,7 @@ redirect_exp_1 (rtx *loc, rtx olabel, rtx nlabel, rtx insn)
not see how to do that. */
int
-redirect_jump_1 (rtx jump, rtx nlabel)
+redirect_jump_1 (rtx_insn *jump, rtx nlabel)
{
int ochanges = num_validated_changes ();
rtx *loc, asmop;
@@ -1580,7 +1580,7 @@ redirect_jump_1 (rtx jump, rtx nlabel)
(this can only occur when trying to produce return insns). */
int
-redirect_jump (rtx jump, rtx nlabel, int delete_unused)
+redirect_jump (rtx_insn *jump, rtx nlabel, int delete_unused)
{
rtx olabel = JUMP_LABEL (jump);
@@ -1612,7 +1612,7 @@ redirect_jump (rtx jump, rtx nlabel, int delete_unused)
If DELETE_UNUSED is positive, delete related insn to OLABEL if its ref
count has dropped to zero. */
void
-redirect_jump_2 (rtx jump, rtx olabel, rtx nlabel, int delete_unused,
+redirect_jump_2 (rtx_insn *jump, rtx olabel, rtx nlabel, int delete_unused,
int invert)
{
rtx note;