[12/13] make set_return_jump_label take an rtx_insn *
diff mbox

Message ID 1430600503-14069-13-git-send-email-tbsaunde+gcc@tbsaunde.org
State New
Headers show

Commit Message

tbsaunde+gcc@tbsaunde.org May 2, 2015, 9:01 p.m. UTC
From: Trevor Saunders <tbsaunde+gcc@tbsaunde.org>

gcc/ChangeLog:

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

	* function.c (set_return_jump_label): Change type of argument to
	rtx_insn *.
	* function.h (set_return_jump_label): Adjust.
---
 gcc/ChangeLog  | 6 ++++++
 gcc/function.c | 2 +-
 gcc/function.h | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

Patch
diff mbox

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 59fa7f7..ea48607 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@ 
 2015-05-02  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
 
+	* function.c (set_return_jump_label): Change type of argument to
+	rtx_insn *.
+	* function.h (set_return_jump_label): Adjust.
+
+2015-05-02  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
+
 	* reload.h (struct reg_equivs_t): Change type of init to
 	rtx_insn *.
 	* ira.c (fix_reg_equiv_init): Adjust.
diff --git a/gcc/function.c b/gcc/function.c
index 83e87a2..4f4c461 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -5703,7 +5703,7 @@  emit_return_into_block (bool simple_p, basic_block bb)
 /* Set JUMP_LABEL for a return insn.  */
 
 void
-set_return_jump_label (rtx returnjump)
+set_return_jump_label (rtx_insn *returnjump)
 {
   rtx pat = PATTERN (returnjump);
   if (GET_CODE (pat) == PARALLEL)
diff --git a/gcc/function.h b/gcc/function.h
index fc12f26..81d76bf 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -917,7 +917,7 @@  extern rtx get_arg_pointer_save_area (void);
 extern void maybe_copy_prologue_epilogue_insn (rtx, rtx);
 extern int prologue_epilogue_contains (const_rtx);
 extern void emit_return_into_block (bool simple_p, basic_block bb);
-extern void set_return_jump_label (rtx);
+extern void set_return_jump_label (rtx_insn *);
 extern bool active_insn_between (rtx_insn *head, rtx_insn *tail);
 extern vec<edge> convert_jumps_to_returns (basic_block last_bb, bool simple_p,
 					   vec<edge> unconverted);