Commit fffb16d2 by Vladimir Makarov Committed by Vladimir Makarov

ira-color.c (coalesce_allocnos): Don't allocate and free sorted_copies.

2013-11-13  Vladimir Makarov  <vmakarov@redhat.com>

	* ira-color.c (coalesce_allocnos): Don't allocate and free
	sorted_copies.

From-SVN: r204771
parent 97514d99
2013-11-13 Vladimir Makarov <vmakarov@redhat.com>
* ira-color.c (coalesce_allocnos): Don't allocate and free
sorted_copies.
2013-11-14 Tom de Vries <tom@codesourcery.com>
* tree-ssa-tail-merge.c (gimple_equal_p): Add test for structural
......@@ -3725,8 +3725,6 @@ coalesce_allocnos (void)
int i, n, cp_num, regno;
bitmap_iterator bi;
sorted_copies = (ira_copy_t *) ira_allocate (ira_copies_num
* sizeof (ira_copy_t));
cp_num = 0;
/* Collect copies. */
EXECUTE_IF_SET_IN_BITMAP (coloring_allocno_bitmap, 0, j, bi)
......@@ -3790,7 +3788,6 @@ coalesce_allocnos (void)
}
cp_num = n;
}
ira_free (sorted_copies);
}
/* Usage cost and order number of coalesced allocno set to which
......
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