emit_note_before can take a rtx_insn *
gcc/ChangeLog: 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * emit-rtl.c (emit_note_before): Change argument type to rtx_insn *. * rtl.h: Adjust. From-SVN: r222946
This commit is contained in:
parent
589e43f905
commit
89b6250dd6
@ -1,3 +1,8 @@
|
||||
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
||||
|
||||
* emit-rtl.c (emit_note_before): Change argument type to rtx_insn *.
|
||||
* rtl.h: Adjust.
|
||||
|
||||
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
|
||||
|
||||
* emit-rtl.c (emit_note_after): Change argument type to rtx_insn *.
|
||||
|
@ -4647,9 +4647,8 @@ emit_note_after (enum insn_note subtype, rtx_insn *after)
|
||||
/* Emit a note of subtype SUBTYPE before the insn BEFORE. */
|
||||
|
||||
rtx_note *
|
||||
emit_note_before (enum insn_note subtype, rtx uncast_before)
|
||||
emit_note_before (enum insn_note subtype, rtx_insn *before)
|
||||
{
|
||||
rtx_insn *before = as_a <rtx_insn *> (uncast_before);
|
||||
rtx_note *note = make_note_raw (subtype);
|
||||
basic_block bb = BARRIER_P (before) ? NULL : BLOCK_FOR_INSN (before);
|
||||
bool on_bb_boundary_p = (bb != NULL && BB_HEAD (bb) == before);
|
||||
|
@ -2671,7 +2671,7 @@ extern rtx_insn *emit_debug_insn_before_noloc (rtx, rtx);
|
||||
extern rtx_insn *emit_debug_insn_before_setloc (rtx, rtx, int);
|
||||
extern rtx_barrier *emit_barrier_before (rtx);
|
||||
extern rtx_insn *emit_label_before (rtx, rtx_insn *);
|
||||
extern rtx_note *emit_note_before (enum insn_note, rtx);
|
||||
extern rtx_note *emit_note_before (enum insn_note, rtx_insn *);
|
||||
extern rtx_insn *emit_insn_after (rtx, rtx);
|
||||
extern rtx_insn *emit_insn_after_noloc (rtx, rtx, basic_block);
|
||||
extern rtx_insn *emit_insn_after_setloc (rtx, rtx, int);
|
||||
|
Loading…
Reference in New Issue
Block a user