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: Chain PHI nodes via separate a chain field


On Wed, Jun 16, 2004 at 09:22:04PM +0200, Steven Bosscher wrote:
> 	* tree.h (PHI_CHAIN): New.
> 	* (tree-cfg.c, tree-dfa.c, tree-flow-inline.h, tree-into-ssa.c,
> 	tree-outof-ssa.c, tree-phinodes.c, tree-pretty-print.c,
> 	tree-ssa-alias.c, tree-ssa-ccp.c, tree-ssa-dom.c, tree-ssa-dse.c,
> 	tree-ssa-live.c, tree-ssa-loop.c, tree-ssa-phiopt.c, tree-ssa-pre.c,
> 	tree-ssa.c, tree-tailcall.c): Use PHI_CHAIN instead of TREE_CHAIN
> 	when traversing a list of PHI_NODEs.

Ok.

As a side note, looks like we could get a lot of milage out of
a FOR_EACH_PHI.


r~


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