+2014-08-25 David Malcolm <dmalcolm@redhat.com>
+
+ * rtl.h (reorder_insns): Strengthen params "from", "to", "after"
+ from rtx to rtx_insn *.
+
+ * emit-rtl.c (reorder_insns): Likewise, also for local "insn".
+
2014-08-25 David Malcolm <dmalcolm@redhat.com>
* function.c (thread_prologue_and_epilogue_insns): Likewise for
/* Same as function above, but take care to update BB boundaries. */
void
-reorder_insns (rtx from, rtx to, rtx after)
+reorder_insns (rtx_insn *from, rtx_insn *to, rtx_insn *after)
{
- rtx prev = PREV_INSN (from);
+ rtx_insn *prev = PREV_INSN (from);
basic_block bb, bb2;
reorder_insns_nobb (from, to, after);
extern void mark_user_reg (rtx);
extern void reset_used_flags (rtx);
extern void set_used_flags (rtx);
-extern void reorder_insns (rtx, rtx, rtx);
+extern void reorder_insns (rtx_insn *, rtx_insn *, rtx_insn *);
extern void reorder_insns_nobb (rtx, rtx, rtx);
extern int get_max_insn_count (void);
extern int in_sequence_p (void);