This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] tree-ssa-dce.c: Use the updated VEC API instead of VARRAY.


On Sat, Apr 23, 2005 at 10:55:34AM -0400, Kazu Hirata wrote:

> 	* tree-ssa-dce.c (worklist): Change to VEC(tree,heap).
> 	(mark_stmt_necessary, propagate_necessity,
> 	mark_really_necessary_kill_operand_phis): Update uses of
> 	worklist.
> 	(tree_dce_init): Allocate worklist using VEC_alloc.
> 	(tree_dce_done): Free worklist using VEC_free.
> 
OK.  All tested changes along these lines are pre-approved.


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]