From 355fe0884b8097c32e859f0df57c83bde0c6bd26 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sun, 20 Sep 2015 00:52:59 +0000 Subject: switch from gimple to gimple* This renames the gimple_statement_base struct to gimple removes the typedef of gimple_statement_base * to gimple, and then adjusts all of the places that use the type. gcc/ChangeLog: 2015-09-19 Trevor Saunders * coretypes.h (gimple): Change typedef to be a forward declaration. * gimple.h (gimple_statement_base): rename to gimple. * (all functions and types using gimple): Adjust. * *.[ch]: Likewise. gcc/cp/ChangeLog: 2015-09-19 Trevor Saunders * cp-gimplify.c (gimplify_must_not_throw_expr): Adjust. From-SVN: r227941 --- gcc/tree-ssa-sccvn.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/tree-ssa-sccvn.h') diff --git a/gcc/tree-ssa-sccvn.h b/gcc/tree-ssa-sccvn.h index 704663d..e3dddee 100644 --- a/gcc/tree-ssa-sccvn.h +++ b/gcc/tree-ssa-sccvn.h @@ -123,7 +123,7 @@ typedef struct vn_constant_s } *vn_constant_t; enum vn_kind { VN_NONE, VN_CONSTANT, VN_NARY, VN_REFERENCE, VN_PHI }; -enum vn_kind vn_get_stmt_kind (gimple); +enum vn_kind vn_get_stmt_kind (gimple *); /* Hash the type TYPE using bits that distinguishes it in the types_compatible_p sense. */ @@ -197,7 +197,7 @@ tree vn_get_expr_for (tree); bool run_scc_vn (vn_lookup_kind); void free_scc_vn (void); tree vn_nary_op_lookup (tree, vn_nary_op_t *); -tree vn_nary_op_lookup_stmt (gimple, vn_nary_op_t *); +tree vn_nary_op_lookup_stmt (gimple *, vn_nary_op_t *); tree vn_nary_op_lookup_pieces (unsigned int, enum tree_code, tree, tree *, vn_nary_op_t *); vn_nary_op_t vn_nary_op_insert (tree, tree); -- cgit v1.1