[tuples] GIMPLE_STATEMENT_LIST changes, redesign, and misc

Richard Henderson rth@redhat.com
Tue Sep 19 21:44:00 GMT 2006


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~



More information about the Gcc-patches mailing list