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-copy.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-copy.c')
-rw-r--r-- | gcc/tree-ssa-copy.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c index f5d10ae..8e137bd 100644 --- a/gcc/tree-ssa-copy.c +++ b/gcc/tree-ssa-copy.c @@ -82,7 +82,7 @@ static unsigned n_copy_of; /* Return true if this statement may generate a useful copy. */ static bool -stmt_may_generate_copy (gimple stmt) +stmt_may_generate_copy (gimple *stmt) { if (gimple_code (stmt) == GIMPLE_PHI) return !SSA_NAME_OCCURS_IN_ABNORMAL_PHI (gimple_phi_result (stmt)); @@ -195,7 +195,7 @@ dump_copy_of (FILE *file, tree var) value and store the LHS into *RESULT_P. */ static enum ssa_prop_result -copy_prop_visit_assignment (gimple stmt, tree *result_p) +copy_prop_visit_assignment (gimple *stmt, tree *result_p) { tree lhs, rhs; @@ -225,7 +225,7 @@ copy_prop_visit_assignment (gimple stmt, tree *result_p) SSA_PROP_VARYING. */ static enum ssa_prop_result -copy_prop_visit_cond_stmt (gimple stmt, edge *taken_edge_p) +copy_prop_visit_cond_stmt (gimple *stmt, edge *taken_edge_p) { enum ssa_prop_result retval = SSA_PROP_VARYING; location_t loc = gimple_location (stmt); @@ -271,7 +271,7 @@ copy_prop_visit_cond_stmt (gimple stmt, edge *taken_edge_p) SSA_PROP_VARYING. */ static enum ssa_prop_result -copy_prop_visit_stmt (gimple stmt, edge *taken_edge_p, tree *result_p) +copy_prop_visit_stmt (gimple *stmt, edge *taken_edge_p, tree *result_p) { enum ssa_prop_result retval; @@ -449,7 +449,7 @@ init_copy_prop (void) for (gimple_stmt_iterator si = gsi_start_bb (bb); !gsi_end_p (si); gsi_next (&si)) { - gimple stmt = gsi_stmt (si); + gimple *stmt = gsi_stmt (si); ssa_op_iter iter; tree def; |