diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-15 15:42:57 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-15 15:42:57 +0000 |
commit | e55e25f6597506def84e1fd29bc9c425668e7134 (patch) | |
tree | 11d4f3225a61f7916337e6a6931bcd78eb0eadf6 /gcc | |
parent | 22538acdb30a084ae473a9054f5a87829e0a3272 (diff) | |
download | gcc-e55e25f6597506def84e1fd29bc9c425668e7134.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215268 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/sched-deps.c | 4 | ||||
-rw-r--r-- | gcc/sched-int.h | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dfb70506e2c..a4f9bd068b0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-09-15 David Malcolm <dmalcolm@redhat.com> + + * 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. + 2014-09-15 Alexander Ivchenko <alexander.ivchenko@intel.com> Maxim Kuznetsov <maxim.kuznetsov@intel.com> Anna Tikhonova <anna.tikhonova@intel.com> diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c index cceff6dac84..1f3a2211e41 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; diff --git a/gcc/sched-int.h b/gcc/sched-int.h index dda394eb9c8..033ca59ddea 100644 --- a/gcc/sched-int.h +++ b/gcc/sched-int.h @@ -1325,7 +1325,7 @@ extern void haifa_note_reg_use (int); extern void maybe_extend_reg_info_p (void); -extern void deps_start_bb (struct deps_desc *, rtx); +extern void deps_start_bb (struct deps_desc *, rtx_insn *); extern enum reg_note ds_to_dt (ds_t); extern bool deps_pools_are_empty_p (void); |