aboutsummaryrefslogtreecommitdiff
path: root/gcc/web.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-08-23 00:59:08 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-08-23 00:59:08 +0000
commit072928d7ffab3983e15fa024fb956f823ed4d385 (patch)
tree5a8330caae4524b5c73ed96878096db7e3689624 /gcc/web.c
parent598d62daff3c1e16efc95d4f873fae22c3019e6f (diff)
downloadgcc-072928d7ffab3983e15fa024fb956f823ed4d385.zip
gcc-072928d7ffab3983e15fa024fb956f823ed4d385.tar.gz
gcc-072928d7ffab3983e15fa024fb956f823ed4d385.tar.bz2
web.c: Use rtx_insn
gcc/ 2014-08-23 David Malcolm <dmalcolm@redhat.com> * web.c (union_match_dups): Strengthen param "insn" from rtx to rtx_insn *. (pass_web::execute): Likewise for local "insn". From-SVN: r214393
Diffstat (limited to 'gcc/web.c')
-rw-r--r--gcc/web.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/web.c b/gcc/web.c
index 42128a1..58f3831 100644
--- a/gcc/web.c
+++ b/gcc/web.c
@@ -98,7 +98,7 @@ class web_entry : public web_entry_base
FUN is the function that does the union. */
static void
-union_match_dups (rtx insn, web_entry *def_entry, web_entry *use_entry,
+union_match_dups (rtx_insn *insn, web_entry *def_entry, web_entry *use_entry,
bool (*fun) (web_entry_base *, web_entry_base *))
{
struct df_insn_info *insn_info = DF_INSN_INFO_GET (insn);
@@ -347,7 +347,7 @@ pass_web::execute (function *fun)
unsigned int *used;
basic_block bb;
unsigned int uses_num = 0;
- rtx insn;
+ rtx_insn *insn;
df_set_flags (DF_NO_HARD_REGS + DF_EQ_NOTES);
df_set_flags (DF_RD_PRUNE_DEAD_DEFS);