From fa1fabcbbce4ec891b5856ebd994384c6635736b Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Thu, 9 Dec 2010 10:00:25 +0000 Subject: rtl.h (invalid_mode_change_p): Adjust prototype. 2010-12-09 Richard Guenther * rtl.h (invalid_mode_change_p): Adjust prototype. * reginfo.c (invalid_mode_change_p): Remove from argument. * ira-costs.c (print_allocno_costs): Adjust callers. (find_costs_and_classes): Likewise. 2010-12-09 Richard Guenther * ira.c (ira): Do not call finish_subregs_of_mode. * ira-costs.c (finish_costs): Call finish_subregs_of_mode. From-SVN: r167631 --- gcc/reginfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/reginfo.c') diff --git a/gcc/reginfo.c b/gcc/reginfo.c index 7c1209f..dd2376b 100644 --- a/gcc/reginfo.c +++ b/gcc/reginfo.c @@ -1338,12 +1338,12 @@ init_subregs_of_mode (void) mode. */ bool invalid_mode_change_p (unsigned int regno, - enum reg_class rclass ATTRIBUTE_UNUSED, - enum machine_mode from) + enum reg_class rclass ATTRIBUTE_UNUSED) { struct subregs_of_mode_node dummy, *node; unsigned int to; unsigned char mask; + enum machine_mode from = PSEUDO_REGNO_MODE (regno); gcc_assert (subregs_of_mode); dummy.block = regno & -8; -- cgit v1.1