+2014-08-19 David Malcolm <dmalcolm@redhat.com>
+
+ * emit-rtl.c (emit_jump_table_data): Strengthen return type from
+ rtx to rtx_jump_table_data *. Also for local.
+ * rtl.h (emit_jump_table_data): Likewise.
+
2014-08-19 David Malcolm <dmalcolm@redhat.com>
* basic-block.h (create_basic_block_structure): Strengthen third
/* Make an insn of code JUMP_TABLE_DATA
and add it to the end of the doubly-linked list. */
-rtx
+rtx_jump_table_data *
emit_jump_table_data (rtx table)
{
- rtx jump_table_data = rtx_alloc (JUMP_TABLE_DATA);
+ rtx_jump_table_data *jump_table_data =
+ as_a <rtx_jump_table_data *> (rtx_alloc (JUMP_TABLE_DATA));
INSN_UID (jump_table_data) = cur_insn_uid++;
PATTERN (jump_table_data) = table;
BLOCK_FOR_INSN (jump_table_data) = NULL;
extern rtx emit_jump_insn (rtx);
extern rtx emit_call_insn (rtx);
extern rtx emit_label (rtx);
-extern rtx emit_jump_table_data (rtx);
+extern rtx_jump_table_data *emit_jump_table_data (rtx);
extern rtx emit_barrier (void);
extern rtx_note *emit_note (enum insn_note);
extern rtx_note *emit_note_copy (rtx_note *);