aboutsummaryrefslogtreecommitdiff
path: root/gcc/alias.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-08-21 14:01:37 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-08-21 14:01:37 +0000
commita36e5877186a606603746853480ea9aea3c79c2c (patch)
treee7d21d772e5ef8546e4cf56644276991e2166af5 /gcc/alias.c
parenta336b719a34c07effb7e1ba9e72f8c270ea362ee (diff)
downloadgcc-a36e5877186a606603746853480ea9aea3c79c2c.zip
gcc-a36e5877186a606603746853480ea9aea3c79c2c.tar.gz
gcc-a36e5877186a606603746853480ea9aea3c79c2c.tar.bz2
define_bypass guard functions take a pair of rtx_insn
2014-08-21 David Malcolm <dmalcolm@redhat.com> * genautomata.c (output_internal_insn_latency_func): When writing the function "internal_insn_latency" to insn-automata.c, strengthen params "insn" and "insn2" from rtx to rtx_insn *, thus allowing the optional guard function of (define_bypass) clauses to expect a pair of rtx_insn *, rather than a pair of rtx. (output_insn_latency_func): When writing the function "insn_latency", add an "uncast_" prefix to params "insn" and "insn2", reintroducing "insn" and "insn2" as rtx_insn * locals using checked casts from the params, thus enabling the above change to the generated "internal_insn_latency" function. From-SVN: r214273
Diffstat (limited to 'gcc/alias.c')
0 files changed, 0 insertions, 0 deletions