This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 123/236] web.c: Use rtx_insn
- From: David Malcolm <dmalcolm at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: David Malcolm <dmalcolm at redhat dot com>
- Date: Wed, 6 Aug 2014 13:21:42 -0400
- Subject: [PATCH 123/236] web.c: Use rtx_insn
- Authentication-results: sourceware.org; auth=none
- References: <1407345815-14551-1-git-send-email-dmalcolm at redhat dot com>
gcc/
* web.c (union_match_dups): Strengthen param "insn" from rtx to
rtx_insn *.
(pass_web::execute): Likewise for local "insn".
---
gcc/web.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/web.c b/gcc/web.c
index 2c038f2..3fdb777 100644
--- a/gcc/web.c
+++ b/gcc/web.c
@@ -88,7 +88,7 @@ unionfind_union (struct web_entry *first, struct web_entry *second)
FUN is the function that does the union. */
static void
-union_match_dups (rtx insn, struct web_entry *def_entry,
+union_match_dups (rtx_insn *insn, struct web_entry *def_entry,
struct web_entry *use_entry,
bool (*fun) (struct web_entry *, struct web_entry *))
{
@@ -363,7 +363,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);
--
1.8.5.3