aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-deps.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-09-15 15:42:57 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-09-15 15:42:57 +0000
commit99de861295c32c3077b287bbb08ccc852297a72f (patch)
tree11d4f3225a61f7916337e6a6931bcd78eb0eadf6 /gcc/sched-deps.c
parent5e89d0ad01c570e2009e5d8e0b9b4c3f8dfecf5a (diff)
downloadgcc-99de861295c32c3077b287bbb08ccc852297a72f.zip
gcc-99de861295c32c3077b287bbb08ccc852297a72f.tar.gz
gcc-99de861295c32c3077b287bbb08ccc852297a72f.tar.bz2
deps_start_bb takes an insn
gcc/ChangeLog: * sched-deps.c (deps_start_bb): Strengthen param "head" and local "insn" from rtx to rtx_insn *. * sched-int.h (deps_start_bb): Likewise for 2nd param. From-SVN: r215268
Diffstat (limited to 'gcc/sched-deps.c')
-rw-r--r--gcc/sched-deps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c
index cceff6d..1f3a221 100644
--- a/gcc/sched-deps.c
+++ b/gcc/sched-deps.c
@@ -3773,7 +3773,7 @@ deps_analyze_insn (struct deps_desc *deps, rtx_insn *insn)
/* Initialize DEPS for the new block beginning with HEAD. */
void
-deps_start_bb (struct deps_desc *deps, rtx head)
+deps_start_bb (struct deps_desc *deps, rtx_insn *head)
{
gcc_assert (!deps->readonly);
@@ -3782,7 +3782,7 @@ deps_start_bb (struct deps_desc *deps, rtx head)
hard registers correct. */
if (! reload_completed && !LABEL_P (head))
{
- rtx insn = prev_nonnote_nondebug_insn (head);
+ rtx_insn *insn = prev_nonnote_nondebug_insn (head);
if (insn && CALL_P (insn))
deps->in_post_call_group_p = post_call_initial;