This is the mail archive of the gcc-patches@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] GIMPLE_STATEMENT_LIST changes, redesign, and misc


On Tue, Sep 19, 2006 at 05:13:29PM -0400, Aldy Hernandez wrote:
> Richard, how does this look?
> 
>         * tree.c (tree_code_size): Handle GIMPLE_STATEMENT_LIST.
>         (tree_node_structure): Handle GIMPLE_STATEMENT_LIST and
>         GIMPLE_MODIFY_STMT.
>         * tree.h (struct gimple_stmt): Add prev and next fields.
>         (GIMPLE_STMT_TO_TREE): Cast, do not call GIMPLE_STMT_CHECK.
>         (GIMPLE_STATEMENT_LIST_HEAD): New.
>         (GIMPLE_STATEMENT_LIST_TAIL): New.
>         (struct gimple_statement_list): New.
>         (union tree_node): Add gimple_stmt_list and gstmt.
>         * treestruct.def: Add TS_GIMPLE_STATEMENT_LIST, TS_GIMPLE_STATEMENT.
>         * tree.def: Add GIMPLE_STATEMENT_LIST.

Pretty good.  Next, the hard bits.  ;-)


r~


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