This is the mail archive of the gcc@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: [tuples] Accessors for RHS of assignments


On 6/20/07 7:13 PM, Zdenek Dvorak wrote:

> I may be missing something, but surely having the accessors uniform
> would be better?  So that I can write things like
> 
> /* Process all operands.  */
> for (i = 0; i < n_operands (gs); i++)
>   process (gs_assign_rhs (gs, i));

Yeah, we already have that.  It's just that 'i' is never > 3.  operand 0
is the LHS, operand 1 and operand 2 are the RHS.  My issue was with the
functions that are more commonly invoked to deal with each RHS operand.


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