ira-color.c (assign_hard_reg): Improve formatting of multi-line for statement.

* ira-color.c (assign_hard_reg): Improve formatting of multi-line for
	statement.

From-SVN: r161348
This commit is contained in:
Bernd Schmidt 2010-06-24 23:28:35 +00:00 committed by Bernd Schmidt
parent 029da7d4c4
commit 6300cb73c2
2 changed files with 5 additions and 3 deletions

View File

@ -33,6 +33,9 @@
* ira-conflicts.c (process_regs_for_copy, propagate_copies)
build_allocno_conflicts): Use ira_parent_or_cap_allocno.
* ira-color.c (assign_hard_reg): Improve formatting of multi-line for
statement.
2010-06-24 Richard Earnshaw <rearnsha@arm.com>
* thumb2.md (thumb2_tlobits_cbranch): Delete.

View File

@ -485,9 +485,8 @@ assign_hard_reg (ira_allocno_t allocno, bool retry_p)
#ifdef STACK_REGS
no_stack_reg_p = no_stack_reg_p || ALLOCNO_TOTAL_NO_STACK_REG_P (a);
#endif
for (cost = ALLOCNO_UPDATED_COVER_CLASS_COST (a), i = 0;
i < class_size;
i++)
cost = ALLOCNO_UPDATED_COVER_CLASS_COST (a);
for (i = 0; i < class_size; i++)
if (a_costs != NULL)
{
costs[i] += a_costs[i];