How to add a new operand to an expression?

Diego Novillo dnovillo@redhat.com
Thu Oct 9 15:21:00 GMT 2003


On Thu, 2003-10-09 at 10:42, Carlo Wood wrote:
> I want to add a new operand to the CALL_EXPR.
> In order to do so, I increased the number in tree.def:
> 
> DEFTREECODE (CALL_EXPR, "call_expr", 'e', 3)   // was 2 before
> 
You also need to adjust the memory allocation functions.  See make_node.


Diego.



More information about the Gcc mailing list