insn_latency takes a pair of rtx_insn
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 4 Sep 2014 20:56:16 +0000 (20:56 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Thu, 4 Sep 2014 20:56:16 +0000 (20:56 +0000)
commitb28e4e44278bfe2872cc8ca9b4dc623c5df6523d
treeb344b2b4637503dc3ad9653c7e57435543542096
parent8e3177d9a6d6b6a24027aa2d2d0c4cf410d77f08
insn_latency takes a pair of rtx_insn

gcc/
2014-09-04  David Malcolm  <dmalcolm@redhat.com>

* genattr.c (main): Within the prototype of insn_latency written
out to insn-attr.h, strengthen both params from rtx to rtx_insn *.
* genautomata.c (output_internal_maximal_insn_latency_func):
Within the implementation of insn_latency written out to
insn-automata.c, strengthen both params from rtx to rtx_insn *,
eliminating a pair of checked casts.

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