diff options
author | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-16 01:23:31 +0000 |
---|---|---|
committer | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-16 01:23:31 +0000 |
commit | c6d14fbf7c49e5ffc306141619b9699113d9d0aa (patch) | |
tree | c661ee4d9bd7b191dbb98cf8e1f11c4566f5d9d7 /gcc/jump.c | |
parent | d0f322baedc8fd11f95337596758e74bc225cdac (diff) | |
download | gcc-c6d14fbf7c49e5ffc306141619b9699113d9d0aa.tar.gz |
use rtx_insn * more
gcc/ChangeLog:
2014-09-15 Trevor Saunders <tsaunders@mozilla.com>
* config/mn10300/mn10300.c (mn10300_insert_setlb_lcc): Assign the
result of emit_jump_insn_before to a new variable.
* jump.c (mark_jump_label): Change the type of insn to rtx_insn *.
(mark_jump_label_1): Likewise.
(mark_jump_label_asm): Likewise.
* reload1.c (gen_reload): Change type of tem to rtx_insn *.
* rtl.h (mark_jump_label): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215281 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/jump.c')
-rw-r--r-- | gcc/jump.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/jump.c b/gcc/jump.c index 34466b693e7..cad44d8a043 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -65,8 +65,8 @@ along with GCC; see the file COPYING3. If not see static void init_label_info (rtx_insn *); static void mark_all_labels (rtx_insn *); -static void mark_jump_label_1 (rtx, rtx, bool, bool); -static void mark_jump_label_asm (rtx, rtx); +static void mark_jump_label_1 (rtx, rtx_insn *, bool, bool); +static void mark_jump_label_asm (rtx, rtx_insn *); static void redirect_exp_1 (rtx *, rtx, rtx, rtx); static int invert_exp_1 (rtx, rtx); @@ -1066,7 +1066,7 @@ sets_cc0_p (const_rtx x) that loop-optimization is done with. */ void -mark_jump_label (rtx x, rtx insn, int in_mem) +mark_jump_label (rtx x, rtx_insn *insn, int in_mem) { rtx asmop = extract_asm_operands (x); if (asmop) @@ -1083,7 +1083,7 @@ mark_jump_label (rtx x, rtx insn, int in_mem) note. */ static void -mark_jump_label_1 (rtx x, rtx insn, bool in_mem, bool is_target) +mark_jump_label_1 (rtx x, rtx_insn *insn, bool in_mem, bool is_target) { RTX_CODE code = GET_CODE (x); int i; @@ -1192,7 +1192,7 @@ mark_jump_label_1 (rtx x, rtx insn, bool in_mem, bool is_target) int eltnum = code == ADDR_DIFF_VEC ? 1 : 0; for (i = 0; i < XVECLEN (x, eltnum); i++) - mark_jump_label_1 (XVECEXP (x, eltnum, i), NULL_RTX, in_mem, + mark_jump_label_1 (XVECEXP (x, eltnum, i), NULL, in_mem, is_target); } return; @@ -1227,7 +1227,7 @@ mark_jump_label_1 (rtx x, rtx insn, bool in_mem, bool is_target) need to be considered targets. */ static void -mark_jump_label_asm (rtx asmop, rtx insn) +mark_jump_label_asm (rtx asmop, rtx_insn *insn) { int i; |