From 1a8dd8766b2d15c3e75fa408e2bc6d3190ef534e Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Tue, 31 Dec 2013 05:33:01 -0500 Subject: [PATCH 043/159] FIXME: cprop.c --- gcc/cprop.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gcc/cprop.c b/gcc/cprop.c index 0016033..15f2e20 100644 --- a/gcc/cprop.c +++ b/gcc/cprop.c @@ -60,7 +60,7 @@ struct occr /* Next occurrence of this expression. */ struct occr *next; /* The insn that computes the expression. */ - rtx insn; + rtx_base_insn insn; }; typedef struct occr *occr_t; @@ -179,8 +179,8 @@ hash_set (int regno, int hash_table_size) IMPLICIT is true if it's an implicit set, false otherwise. */ static void -insert_set_in_table (rtx dest, rtx src, rtx insn, struct hash_table_d *table, - bool implicit) +insert_set_in_table (rtx dest, rtx src, rtx_base_insn insn, + struct hash_table_d *table, bool implicit) { bool found = false; unsigned int hash; @@ -264,7 +264,8 @@ cprop_constant_p (const_rtx x) IMPLICIT is true if it's an implicit set, false otherwise. */ static void -hash_scan_set (rtx set, rtx insn, struct hash_table_d *table, bool implicit) +hash_scan_set (rtx set, rtx_base_insn insn, struct hash_table_d *table, + bool implicit) { rtx src = SET_SRC (set); rtx dest = SET_DEST (set); @@ -307,7 +308,7 @@ hash_scan_set (rtx set, rtx insn, struct hash_table_d *table, bool implicit) /* Process INSN and add hash table entries as appropriate. */ static void -hash_scan_insn (rtx insn, struct hash_table_d *table) +hash_scan_insn (rtx_base_insn insn, struct hash_table_d *table) { rtx pat = PATTERN (insn); int i; -- 1.7.11.7