+2014-09-05 David Malcolm <dmalcolm@redhat.com>
+
+ * emit-rtl.c (try_split): Update NULL_RTX to NULL in call to
+ fixup_args_size_notes.
+ * expr.c (fixup_args_size_notes): Strengthen first two params from
+ rtx to rtx_insn *, eliminating a checked cast.
+ * rtl.h (fixup_args_size_notes): Strengthen first two params from
+ rtx to rtx_insn *.
+
2014-09-05 David Malcolm <dmalcolm@redhat.com>
* haifa-sched.c (get_ready_element): Strengthen return type from
#endif
case REG_ARGS_SIZE:
- fixup_args_size_notes (NULL_RTX, insn_last, INTVAL (XEXP (note, 0)));
+ fixup_args_size_notes (NULL, insn_last, INTVAL (XEXP (note, 0)));
break;
case REG_CALL_DECL:
}
int
-fixup_args_size_notes (rtx prev, rtx uncast_last, int end_args_size)
+fixup_args_size_notes (rtx_insn *prev, rtx_insn *last, int end_args_size)
{
- rtx_insn *last = safe_as_a <rtx_insn *> (uncast_last);
int args_size = end_args_size;
bool saw_unknown = false;
rtx_insn *insn;
extern rtx move_by_pieces (rtx, rtx, unsigned HOST_WIDE_INT,
unsigned int, int);
extern HOST_WIDE_INT find_args_size_adjust (rtx);
-extern int fixup_args_size_notes (rtx, rtx, int);
+extern int fixup_args_size_notes (rtx_insn *, rtx_insn *, int);
/* In cfgrtl.c */
extern void print_rtl_with_bb (FILE *, const rtx_insn *, int);