[tuples] Accessors for RHS of assignments
Diego Novillo
dnovillo@google.com
Thu Jun 21 02:42:00 GMT 2007
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.
More information about the Gcc
mailing list