aboutsummaryrefslogtreecommitdiff
path: root/gcc/reload.h
diff options
context:
space:
mode:
authorAnatoly Sokolov <aesok@post.ru>2011-05-01 16:33:13 +0400
committerAnatoly Sokolov <aesok@gcc.gnu.org>2011-05-01 16:33:13 +0400
commit6f76a8788eebd50b78213f086166889167f0fcb2 (patch)
tree9da28edb6adadb3c992cd303c7a4d0fc04b5f13d /gcc/reload.h
parent7c4f44cd604b5e655fcdf2a9c555cdbcecc7fc0e (diff)
downloadgcc-6f76a8788eebd50b78213f086166889167f0fcb2.zip
gcc-6f76a8788eebd50b78213f086166889167f0fcb2.tar.gz
gcc-6f76a8788eebd50b78213f086166889167f0fcb2.tar.bz2
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
Diffstat (limited to 'gcc/reload.h')
-rw-r--r--gcc/reload.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reload.h b/gcc/reload.h
index c571780..c9df112 100644
--- a/gcc/reload.h
+++ b/gcc/reload.h
@@ -31,7 +31,7 @@ along with GCC; see the file COPYING3. If not see
#endif
extern int register_move_cost (enum machine_mode, reg_class_t, reg_class_t);
-extern int memory_move_cost (enum machine_mode, enum reg_class, bool);
+extern int memory_move_cost (enum machine_mode, reg_class_t, bool);
extern int memory_move_secondary_cost (enum machine_mode, reg_class_t, bool);
/* Maximum number of reloads we can need. */