Commit 016f9d9d by Jeff Law Committed by Jeff Law

ira-color.c (ira_reassign_pseudos): Collect and sort all the pseudos needing…

ira-color.c (ira_reassign_pseudos): Collect and sort all the pseudos needing assignment rather than doing a...

	* ira-color.c (ira_reassign_pseudos): Collect and sort all the pseudos
	needing assignment rather than doing a two-phase assignment.  Remove
	unused variable 'm'.

From-SVN: r158458
parent 807a28fb
2010-04-16 Jeff Law <law@redhat.com>
* ira-color.c (ira_reassign_pseudos): Collect and sort all the pseudos
needing assignment rather than doing a two-phase assignment.
needing assignment rather than doing a two-phase assignment. Remove
unused variable 'm'.
2010-04-16 Jakub Jelinek <jakub@redhat.com>
......
......@@ -2863,7 +2863,7 @@ ira_reassign_pseudos (int *spilled_pseudo_regs, int num,
HARD_REG_SET *pseudo_previous_regs,
bitmap spilled)
{
int i, m, n, regno;
int i, n, regno;
bool changed_p;
ira_allocno_t a, conflict_a;
HARD_REG_SET forbidden_regs;
......@@ -2901,7 +2901,7 @@ ira_reassign_pseudos (int *spilled_pseudo_regs, int num,
changed_p = false;
/* Try to assign hard registers to pseudos from
SPILLED_PSEUDO_REGS. */
for (m = i = 0; i < num; i++)
for (i = 0; i < num; i++)
{
regno = spilled_pseudo_regs[i];
COPY_HARD_REG_SET (forbidden_regs, bad_spill_regs);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment