diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-09-04 20:56:16 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-09-04 20:56:16 +0000 |
commit | b28e4e44278bfe2872cc8ca9b4dc623c5df6523d (patch) | |
tree | b344b2b4637503dc3ad9653c7e57435543542096 /gcc/genattr.c | |
parent | 8e3177d9a6d6b6a24027aa2d2d0c4cf410d77f08 (diff) | |
download | gcc-b28e4e44278bfe2872cc8ca9b4dc623c5df6523d.zip gcc-b28e4e44278bfe2872cc8ca9b4dc623c5df6523d.tar.gz gcc-b28e4e44278bfe2872cc8ca9b4dc623c5df6523d.tar.bz2 |
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
Diffstat (limited to 'gcc/genattr.c')
-rw-r--r-- | gcc/genattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genattr.c b/gcc/genattr.c index 5845dbb..b7e2a92 100644 --- a/gcc/genattr.c +++ b/gcc/genattr.c @@ -248,7 +248,7 @@ main (int argc, char **argv) printf ("/* Insn latency time on data consumed by the 2nd insn.\n"); printf (" Use the function if bypass_p returns nonzero for\n"); printf (" the 1st insn. */\n"); - printf ("extern int insn_latency (rtx, rtx);\n\n"); + printf ("extern int insn_latency (rtx_insn *, rtx_insn *);\n\n"); printf ("/* Maximal insn latency time possible of all bypasses for this insn.\n"); printf (" Use the function if bypass_p returns nonzero for\n"); printf (" the 1st insn. */\n"); |