From f84d1b415df69806e6cfe7a78d6aa80e8dfb4675 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Thu, 19 Jun 2014 20:36:54 -0400 Subject: [PATCH 021/236] entry_of_function returns an insn gcc/ * rtl.h (entry_of_function): Strengthen return type from rtx to rtx_insn *. * cfgrtl.c (entry_of_function): Likewise. --- gcc/cfgrtl.c | 2 +- gcc/rtl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index 24f1cff..3852a10 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -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 ? diff --git a/gcc/rtl.h b/gcc/rtl.h index e6469e1..6f413c1 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -3111,7 +3111,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); -- 1.8.5.3