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
This commit is contained in:
parent
5e89d0ad01
commit
99de861295
|
@ -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>
|
2014-09-15 Alexander Ivchenko <alexander.ivchenko@intel.com>
|
||||||
Maxim Kuznetsov <maxim.kuznetsov@intel.com>
|
Maxim Kuznetsov <maxim.kuznetsov@intel.com>
|
||||||
Anna Tikhonova <anna.tikhonova@intel.com>
|
Anna Tikhonova <anna.tikhonova@intel.com>
|
||||||
|
|
|
@ -3773,7 +3773,7 @@ deps_analyze_insn (struct deps_desc *deps, rtx_insn *insn)
|
||||||
|
|
||||||
/* Initialize DEPS for the new block beginning with HEAD. */
|
/* Initialize DEPS for the new block beginning with HEAD. */
|
||||||
void
|
void
|
||||||
deps_start_bb (struct deps_desc *deps, rtx head)
|
deps_start_bb (struct deps_desc *deps, rtx_insn *head)
|
||||||
{
|
{
|
||||||
gcc_assert (!deps->readonly);
|
gcc_assert (!deps->readonly);
|
||||||
|
|
||||||
|
@ -3782,7 +3782,7 @@ deps_start_bb (struct deps_desc *deps, rtx head)
|
||||||
hard registers correct. */
|
hard registers correct. */
|
||||||
if (! reload_completed && !LABEL_P (head))
|
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))
|
if (insn && CALL_P (insn))
|
||||||
deps->in_post_call_group_p = post_call_initial;
|
deps->in_post_call_group_p = post_call_initial;
|
||||||
|
|
|
@ -1325,7 +1325,7 @@ extern void haifa_note_reg_use (int);
|
||||||
|
|
||||||
extern void maybe_extend_reg_info_p (void);
|
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 enum reg_note ds_to_dt (ds_t);
|
||||||
|
|
||||||
extern bool deps_pools_are_empty_p (void);
|
extern bool deps_pools_are_empty_p (void);
|
||||||
|
|
Loading…
Reference in New Issue