diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2015-06-30 20:57:21 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2015-06-30 20:57:21 +0000 |
commit | ec4a505ff54c848fd4d71c7d121482c65e7b5ce7 (patch) | |
tree | 94872a118d6391a231578638be484845e405fcb0 /gcc/haifa-sched.c | |
parent | 20fceb31cd7e622b5a4d575249858da92d1fd79b (diff) | |
download | gcc-ec4a505ff54c848fd4d71c7d121482c65e7b5ce7.zip gcc-ec4a505ff54c848fd4d71c7d121482c65e7b5ce7.tar.gz gcc-ec4a505ff54c848fd4d71c7d121482c65e7b5ce7.tar.bz2 |
target-insns.def (jump): New targetm instruction pattern.
gcc/
* target-insns.def (jump): New targetm instruction pattern.
* bb-reorder.c (get_uncond_jump_length): Use targetm.gen_jump
instead of gen_jump.
(fix_up_crossing_landing_pad): Likewise.
(add_labels_and_missing_jumps): Likewise.
(fix_crossing_conditional_branches): Likewise.
* cfgrtl.c (try_redirect_by_replacing_jump): Likewise.
(force_nonfallthru_and_redirect): Likewise.
* cse.c (cse_insn): Likewise.
* expmed.c (expand_divmod): Likewise.
* expr.c (store_expr_with_bounds, expand_expr_real_2): Likewise.
* haifa-sched.c (init_before_recovery): Likewise.
(sched_create_recovery_edges): Likewise.
* ifcvt.c (find_cond_trap): Likewise.
* optabs.c (expand_doubleword_shift, expand_doubleword_clz): Likewise.
(expand_float, expand_fix): Likewise.
* stmt.c (emit_jump): Likewise.
From-SVN: r225211
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r-- | gcc/haifa-sched.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index fd6e3e9..e685cc8 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -8120,7 +8120,7 @@ init_before_recovery (basic_block *before_recovery_ptr) EDGE_FALLTHRU); rtx_code_label *label = block_label (empty); - rtx_jump_insn *x = emit_jump_insn_after (gen_jump (label), + rtx_jump_insn *x = emit_jump_insn_after (targetm.gen_jump (label), BB_END (single)); JUMP_LABEL (x) = label; LABEL_NUSES (label)++; @@ -8198,7 +8198,8 @@ sched_create_recovery_edges (basic_block first_bb, basic_block rec, make_edge (first_bb, rec, edge_flags); rtx_code_label *label = block_label (second_bb); - rtx_jump_insn *jump = emit_jump_insn_after (gen_jump (label), BB_END (rec)); + rtx_jump_insn *jump = emit_jump_insn_after (targetm.gen_jump (label), + BB_END (rec)); JUMP_LABEL (jump) = label; LABEL_NUSES (label)++; |