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] O(1) PHI argument look-up - Part 16/n


On Wed, 2004-11-24 at 19:04 -0500, Kazu Hirata wrote:
> Hi,
> 
> Attached is part 16 of my O(1) PHI argument look-up patch.
> 
> phi_arg_from_edge no longer returns -1.  The patch replaces
> phi_arg_from_edge with e->dest_idx.  Note that this is safe because
> remove_phi_arg_num removes a PHI argument, which always exist.  It's
> just that a "missing PHI argument" is faked by putting NULL_TREE in
> the corresponding slot.
> 
> Tested on i686-pc-linux-gnu.  OK to apply?
> 
> Kazu Hirata
> 
> 2004-11-25  Kazu Hirata  <kazu@cs.umass.edu>
> 
> 	* tree-phinodes.c (remove_phi_args): Replace phi_arg_from_edge
> 	with e->dest_idx.
Approved.
jeff



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