genautomata.c cleanup
authorAlexander Monakov <amonakov@ispras.ru>
Wed, 11 May 2016 18:13:11 +0000 (21:13 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Wed, 11 May 2016 18:13:11 +0000 (21:13 +0300)
commitd8aecc553d987a25393661eb961c745cc7e800a0
tree16719a965ca2a8098098a4fd42af67497853a270
parent2c74f63ff5d8af9b0c994302b944f3a8dd25d1de
genautomata.c cleanup

* genattr.c (main): Change 'rtx' to 'rtx_insn *' in prototypes of
'insn_latency', 'maximal_insn_latency', 'min_insn_conflict_delay'.
* genautomata.c (output_internal_insn_code_evaluation): Simplify.
Move handling of non-insn arguments inline into the sole user:
(output_trans_func): ...here.
(output_min_insn_conflict_delay_func): Change 'rtx' to 'rtx_insn *'
in emitted function prototype.
(output_internal_insn_latency_func): Ditto.  Simplify.
(output_internal_maximal_insn_latency_func): Ditto.  Delete
always-unused argument.
(output_insn_latency_func): Ditto.
(output_maximal_insn_latency_func): Ditto.

From-SVN: r236132
gcc/ChangeLog
gcc/genattr.c
gcc/genautomata.c