summaryrefslogtreecommitdiff
path: root/gcc/insn-addr.h
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-08-29 00:07:51 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-08-29 00:07:51 +0000
commit17f385d8dabbfff8eeb45012d63c8cd232958330 (patch)
tree8f06167e65a551690e63c81678d1990d5e257be2 /gcc/insn-addr.h
parent3064b94272037d53a8c9886c3e347c063d2f0a40 (diff)
downloadgcc-17f385d8dabbfff8eeb45012d63c8cd232958330.tar.gz
Make insn_addresses_new require an rtx_insn
gcc/ 2014-08-28 David Malcolm <dmalcolm@redhat.com> * insn-addr.h (insn_addresses_new): Strengthen param "insn" from rtx to rtx_insn *. * config/s390/s390.c (s390_split_branches): Eliminate top-level local rtx "tmp", in favor of new local rtx "mem" and rtx_insn * "set_insn". (s390_mainpool_finish): In three places, split out a local rtx "insn" into a local rtx - "set" or "pat" - and a rtx_insn * "insn". Strengthen local "pool_end" from rtx to rtx_code_label * and split another local rtx "insn" out into rtx "pat" and rtx_insn * "insn". * config/sh/sh.c (output_branchy_insn): Rather than working directly on operands[9], introduce local rtx_code_label * variables named "lab" in two places, working on them, and then assigning them to operands[9], so that the intervening operations are known by the type system to be on insns. From-SVN: r214701
Diffstat (limited to 'gcc/insn-addr.h')
-rw-r--r--gcc/insn-addr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/insn-addr.h b/gcc/insn-addr.h
index aec09fd102c..e255ac48f50 100644
--- a/gcc/insn-addr.h
+++ b/gcc/insn-addr.h
@@ -38,7 +38,7 @@ extern int insn_current_address;
#define INSN_ADDRESSES_SIZE() (insn_addresses_.length ())
static inline void
-insn_addresses_new (rtx insn, int insn_addr)
+insn_addresses_new (rtx_insn *insn, int insn_addr)
{
unsigned insn_uid = INSN_UID ((insn));