]> gcc.gnu.org Git - gcc.git/commit
Remove DEP_PRO/CON scaffolding
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 26 Aug 2014 17:55:26 +0000 (17:55 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 26 Aug 2014 17:55:26 +0000 (17:55 +0000)
commit0e0ce50de6b5ca00490a675800c866c24c44e4bb
treee62bfc98576720e333aa9a25f982e815f3e12f8c
parent3d30f4e815a41fdf2d4a9bf37223281f5f8a06dc
Remove DEP_PRO/CON scaffolding

gcc/
* sched-int.h (struct _dep): Strengthen fields "pro" and "con"
from rtx to rtx_insn *.
(DEP_PRO): Delete this function and...
(SET_DEP_PRO): ...this function in favor of...
(DEP_PRO): ...reinstate this macro.
(DEP_CON): Delete this function and...
(SET_DEP_CON): ...this function in favor of...
(DEP_CON): ...reinstate this old macro.
(init_dep_1): Strengthen params 2 and 3 from rtx to rtx_insn *.
(init_dep): Likewise.
(set_priorities): Likewise for both params.
(sd_copy_back_deps): Likewise for params 1 and 2.

* haifa-sched.c (priority): Likewise for param "insn" and local
"next".
(set_priorities): Likewise for params "head" and "tail" and local
"insn".
(process_insn_forw_deps_be_in_spec): Likewise for param "twin" and
local "consumer".
(add_to_speculative_block): Add a checked cast.
(create_check_block_twin): Drop use of SET_DEP_CON.
(add_jump_dependencies): Strengthen params "insn" and "jump" from
rtx to rtx_insn *.

* sched-deps.c (init_dep_1): Likewise for params "pro" and "con".
Drop use of SET_DEP_PRO
(init_dep): Strengthen params "pro" and "con" from rtx to
rtx_insn *.
(sd_copy_back_deps): Likewise for params "to" and "from".  Drop
use of SET_DEP_CON.
(DEP_PRO): Delete.
(DEP_CON): Delete.
(SET_DEP_PRO): Delete.
(SET_DEP_CON): Delete.

/
* rtx-classes-status.txt (TODO): SET_DEP_PRO and SET_DEP_CON are
done.

From-SVN: r214530
ChangeLog
gcc/ChangeLog
gcc/haifa-sched.c
gcc/sched-deps.c
gcc/sched-int.h
rtx-classes-status.txt
This page took 0.059291 seconds and 5 git commands to generate.