summaryrefslogtreecommitdiff
path: root/gcc/postreload.c
diff options
context:
space:
mode:
authoraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-01 12:33:13 +0000
committeraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-01 12:33:13 +0000
commitade444a4547041efeb711cd282e7f9ed5f845622 (patch)
tree9da28edb6adadb3c992cd303c7a4d0fc04b5f13d /gcc/postreload.c
parentcc4f04931b65b0531029071e4c0ed639fa2669b4 (diff)
downloadgcc-ade444a4547041efeb711cd282e7f9ed5f845622.tar.gz
* reginfo.c (memory_move_cost): Change rclass argument type form
'enum reg_class' to reg_class_t. * reload.h (memory_move_cost): Update prototype. * postreload.c reload_cse_simplify_set): Change type dclass var to reg_class_t. * ira-int.h (ira_allocate_cost_vector, ira_free_cost_vector): Update prototype. (ira_allocate_and_set_costs): Change aclass argument type form 'enum reg_class' to reg_class_t. * ira-build.c (ira_allocate_cost_vector, ira_free_cost_vector): Change aclass argument type to reg_class_t. (update_conflict_hard_reg_costs): Change type aclass and pref vars to reg_class_t. * gcc/ira.c (setup_class_subset_and_memory_move_costs): Adjust memory_move_cost call. * config/ia64/ia64.c (ia64_register_move_cost): Remove 'from' and 'to' local var. Rename from_i and to_i arguments to 'from' and 'to'. Change type tmp var to reg_class_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173232 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/postreload.c')
-rw-r--r--gcc/postreload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/postreload.c b/gcc/postreload.c
index a4234102301..0f3e5c24658 100644
--- a/gcc/postreload.c
+++ b/gcc/postreload.c
@@ -233,7 +233,7 @@ reload_cse_simplify_set (rtx set, rtx insn)
int did_change = 0;
int dreg;
rtx src;
- enum reg_class dclass;
+ reg_class_t dclass;
int old_cost;
cselib_val *val;
struct elt_loc_list *l;