tree-ssa-coalesce.c (struct ssa_conflicts_d): Make contents of this a VEC and add...
authorSteven Bosscher <steven@gcc.gnu.org>
Wed, 22 Aug 2012 08:59:56 +0000 (08:59 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Wed, 22 Aug 2012 08:59:56 +0000 (08:59 +0000)
commit06d43afd8592777cbc11e78a8b7667fda6c1eace
tree4fabf4736d4263e7e42c5e5623939fb1d52ac304
parent130e00bd2407957f9cc32f7c107502848016166e
tree-ssa-coalesce.c (struct ssa_conflicts_d): Make contents of this a VEC and add a bitmap obstack.

* tree-ssa-coalesce.c (struct ssa_conflicts_d): Make contents
of this a VEC and add a bitmap obstack.
(ssa_conflicts_new): Allocate the obstack and grow the VEC cleared
to the right size.
(ssa_conflicts_delete): Free the VEC and release the obstack.
(ssa_conflicts_test_p, ssa_conflicts_test_p, ssa_conflicts_add_one,
ssa_conflicts_merge, ssa_conflicts_dump): Update for above changes.
(truct live_track_d): Add another bitmap obstack here.
(new_live_track): Initialize it and use it for all bitmaps.
(delete_live_track): Don't free the bitmaps one at a time, just
release the obstack.
(create_outofssa_var_map): Fix to conform to GCC code style rules.

From-SVN: r190589
gcc/ChangeLog
gcc/tree-ssa-coalesce.c