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: How to add a new operand to an expression?


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.


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