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 t
Hello,
> So, I think I am still not convinced which way we want to access the RHS
> of a GS_ASSIGN.
>
> Since GS_ASSIGN can have various types of RHS, we originally had:
>
> gs_assign_unary_rhs (gs) <- Access the only operand on RHS
> gs_assign_binary_rhs1 (gs)<- Access the 1st RHS oper
On Wed, 2007-06-20 at 14:19 -0400, Diego Novillo wrote:
>
> gs_assign_unary_rhs (gs) <- Access the only operand on RHS
> gs_assign_binary_rhs1 (gs)<- Access the 1st RHS operand
> gs_assign_binary_rhs2 (gs)<- Access the 2nd RHS operand
>
> And the corresponding _set functions.
>
> I
So, I think I am still not convinced which way we want to access the RHS
of a GS_ASSIGN.
Since GS_ASSIGN can have various types of RHS, we originally had:
gs_assign_unary_rhs (gs)<- Access the only operand on RHS
gs_assign_binary_rhs1 (gs) <- Access the 1st RHS operand
gs_assign_bin