diff options
author | Trevor Saunders <tbsaunde@tbsaunde.org> | 2015-09-20 00:52:59 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-09-20 00:52:59 +0000 |
commit | 355fe0884b8097c32e859f0df57c83bde0c6bd26 (patch) | |
tree | aadb7908b4b80ecaf7e744ca1ae42a59a12b07ea /gcc/tree-ssa-ter.c | |
parent | e4f2a3e4588bbc3691b452d8a2c520e8196b0ef3 (diff) | |
download | gcc-355fe0884b8097c32e859f0df57c83bde0c6bd26.zip gcc-355fe0884b8097c32e859f0df57c83bde0c6bd26.tar.gz gcc-355fe0884b8097c32e859f0df57c83bde0c6bd26.tar.bz2 |
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 <tbsaunde@tbsaunde.org>
* 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 <tbsaunde@tbsaunde.org>
* cp-gimplify.c (gimplify_must_not_throw_expr): Adjust.
From-SVN: r227941
Diffstat (limited to 'gcc/tree-ssa-ter.c')
-rw-r--r-- | gcc/tree-ssa-ter.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/tree-ssa-ter.c b/gcc/tree-ssa-ter.c index 17686a9..7a7bcc9 100644 --- a/gcc/tree-ssa-ter.c +++ b/gcc/tree-ssa-ter.c @@ -395,14 +395,14 @@ finished_with_expr (temp_expr_table *tab, int version, bool free_expr) is available. */ static inline bool -ter_is_replaceable_p (gimple stmt) +ter_is_replaceable_p (gimple *stmt) { if (ssa_is_replaceable_p (stmt)) { use_operand_p use_p; tree def; - gimple use_stmt; + gimple *use_stmt; location_t locus1, locus2; tree block1, block2; @@ -443,7 +443,7 @@ ter_is_replaceable_p (gimple stmt) /* Create an expression entry for a replaceable expression. */ static void -process_replaceable (temp_expr_table *tab, gimple stmt, int call_cnt) +process_replaceable (temp_expr_table *tab, gimple *stmt, int call_cnt) { tree var, def, basevar; int version; @@ -562,7 +562,7 @@ find_ssaname (tree *tp, int *walk_subtrees, void *data) walk_stmt_load_store_addr_ops. */ static bool -find_ssaname_in_store (gimple, tree, tree t, void *data) +find_ssaname_in_store (gimple *, tree, tree t, void *data) { return walk_tree (&t, find_ssaname, data, NULL) != NULL_TREE; } @@ -574,7 +574,7 @@ static void find_replaceable_in_bb (temp_expr_table *tab, basic_block bb) { gimple_stmt_iterator bsi; - gimple stmt; + gimple *stmt; tree def, use, fndecl; int partition; var_map map = tab->map; @@ -622,7 +622,7 @@ find_replaceable_in_bb (temp_expr_table *tab, basic_block bb) assignments which we cannot expand correctly. */ if (gimple_vdef (stmt)) { - gimple def_stmt = SSA_NAME_DEF_STMT (use); + gimple *def_stmt = SSA_NAME_DEF_STMT (use); while (is_gimple_assign (def_stmt) && gimple_assign_rhs_code (def_stmt) == SSA_NAME) def_stmt |