entry_of_function returns an insn

2014-08-19  David Malcolm  <dmalcolm@redhat.com>

	* rtl.h (entry_of_function): Strengthen return type from rtx to
	rtx_insn *.
	* cfgrtl.c (entry_of_function): Likewise.

From-SVN: r214182
This commit is contained in:
David Malcolm 2014-08-19 18:44:41 +00:00 committed by David Malcolm
parent 27093ee4fc
commit 8a2e8325e4
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2014-08-19 David Malcolm <dmalcolm@redhat.com>
* rtl.h (entry_of_function): Strengthen return type from rtx to
rtx_insn *.
* cfgrtl.c (entry_of_function): Likewise.
2014-08-19 David Malcolm <dmalcolm@redhat.com>
* emit-rtl.h (get_insns): Strengthen return type from rtx to

View File

@ -498,7 +498,7 @@ make_pass_free_cfg (gcc::context *ctxt)
}
/* Return RTX to emit after when we want to emit code on the entry of function. */
rtx
rtx_insn *
entry_of_function (void)
{
return (n_basic_blocks_for_fn (cfun) > NUM_FIXED_BLOCKS ?

View File

@ -3088,7 +3088,7 @@ extern void add_insn_after (rtx, rtx, basic_block);
extern void remove_insn (rtx);
extern rtx emit (rtx);
extern void delete_insn (rtx);
extern rtx entry_of_function (void);
extern rtx_insn *entry_of_function (void);
extern void emit_insn_at_entry (rtx);
extern void delete_insn_chain (rtx, rtx, bool);
extern rtx unlink_insn_chain (rtx, rtx);