reginfo.c (memory_move_cost): Change rclass argument type form 'enum reg_class' to...
authorAnatoly Sokolov <aesok@post.ru>
Sun, 1 May 2011 12:33:13 +0000 (16:33 +0400)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Sun, 1 May 2011 12:33:13 +0000 (16:33 +0400)
commit6f76a8788eebd50b78213f086166889167f0fcb2
tree9da28edb6adadb3c992cd303c7a4d0fc04b5f13d
parent7c4f44cd604b5e655fcdf2a9c555cdbcecc7fc0e
reginfo.c (memory_move_cost): Change rclass argument type form 'enum reg_class' to reg_class_t.

* 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.

From-SVN: r173232
gcc/ChangeLog
gcc/config/ia64/ia64.c
gcc/ira-build.c
gcc/ira-int.h
gcc/ira.c
gcc/postreload.c
gcc/reginfo.c
gcc/reload.h