* config/ia64/ia64.c (ia64_register_move_cost): Fix argument types.

From-SVN: r161667
This commit is contained in:
Joern Rennecke 2010-07-01 12:35:37 +00:00 committed by Joern Rennecke
parent 3aa05bb6ce
commit c21fc18136
2 changed files with 6 additions and 4 deletions

View File

@ -14,6 +14,8 @@
PR target/44732
* config/ia64/ia64.c (ia64_register_move_cost): Remove stray '{'.
* config/ia64/ia64.c (ia64_register_move_cost): Fix argument types.
2010-07-01 Bernd Schmidt <bernds@codesourcery.com>
PR target/44727

View File

@ -210,8 +210,8 @@ static bool ia64_return_in_memory (const_tree, const_tree);
static rtx ia64_function_value (const_tree, const_tree, bool);
static rtx ia64_libcall_value (enum machine_mode, const_rtx);
static bool ia64_function_value_regno_p (const unsigned int);
static int ia64_register_move_cost (enum machine_mode, enum reg_class,
enum reg_class);
static int ia64_register_move_cost (enum machine_mode, reg_class_t,
reg_class_t);
static bool ia64_rtx_costs (rtx, int, int, int *, bool);
static int ia64_unspec_may_trap_p (const_rtx, unsigned);
static void fix_range (const char *);
@ -5207,8 +5207,8 @@ ia64_rtx_costs (rtx x, int code, int outer_code, int *total,
one in class TO, using MODE. */
static int
ia64_register_move_cost (enum machine_mode mode, enum reg_class from_i,
enum reg_class to_i)
ia64_register_move_cost (enum machine_mode mode, reg_class_t from_i,
reg_class_t to_i)
{
enum reg_class from = (enum reg_class) from_i;
enum reg_class to = (enum reg_class) to_i;