diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2015-05-09 04:16:54 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-05-09 04:16:54 +0000 |
commit | 170065c992d05cab49895c50b90ceacba2f78fdd (patch) | |
tree | 24ce3c42e03c4180f74233406bb473492275b7a2 /gcc/gcse.c | |
parent | 88bdcd3d6566246bfe7bb949b91d5f4def8ffb90 (diff) | |
download | gcc-170065c992d05cab49895c50b90ceacba2f78fdd.zip gcc-170065c992d05cab49895c50b90ceacba2f78fdd.tar.gz gcc-170065c992d05cab49895c50b90ceacba2f78fdd.tar.bz2 |
pass rtx_insn * more in gcse.c
gcc/ChangeLog:
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* gcse.c: Change argument types to rtx_insn *.
From-SVN: r222949
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -493,7 +493,7 @@ static int oprs_available_p (const_rtx, const rtx_insn *); static void insert_expr_in_table (rtx, machine_mode, rtx_insn *, int, int, int, struct gcse_hash_table_d *); static unsigned int hash_expr (const_rtx, machine_mode, int *, int); -static void record_last_reg_set_info (rtx, int); +static void record_last_reg_set_info (rtx_insn *, int); static void record_last_mem_set_info (rtx_insn *); static void record_last_set_info (rtx, const_rtx, void *); static void compute_hash_table (struct gcse_hash_table_d *); @@ -516,7 +516,7 @@ static void pre_insert_copies (void); static int pre_delete (void); static int pre_gcse (struct edge_list *); static int one_pre_gcse_pass (void); -static void add_label_notes (rtx, rtx); +static void add_label_notes (rtx, rtx_insn *); static void alloc_code_hoist_mem (int, int); static void free_code_hoist_mem (void); static void compute_code_hoist_vbeinout (void); @@ -1471,7 +1471,7 @@ dump_hash_table (FILE *file, const char *name, struct gcse_hash_table_d *table) valid, as a quick test to invalidate them. */ static void -record_last_reg_set_info (rtx insn, int regno) +record_last_reg_set_info (rtx_insn *insn, int regno) { struct reg_avail_info *info = ®_avail_info[regno]; int luid = DF_INSN_LUID (insn); @@ -2665,7 +2665,7 @@ one_pre_gcse_pass (void) necessary REG_LABEL_OPERAND and REG_LABEL_TARGET notes. */ static void -add_label_notes (rtx x, rtx insn) +add_label_notes (rtx x, rtx_insn *insn) { enum rtx_code code = GET_CODE (x); int i, j; |