summaryrefslogtreecommitdiff
path: root/gcc/cfgrtl.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-08-19 18:44:41 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-08-19 18:44:41 +0000
commit8a2e8325e4b35265ea983561eca4a23a13630b07 (patch)
treeda230e132571622f6cfca9d50e37fa6bb9176344 /gcc/cfgrtl.c
parent27093ee4fc85ceb883cefc4f572ce4d4a9b68131 (diff)
downloadgcc-8a2e8325e4b35265ea983561eca4a23a13630b07.tar.gz
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
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r--gcc/cfgrtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c
index cb07f0bcf0b..2ff75223089 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 ?