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-nested.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-nested.c')
-rw-r--r-- | gcc/tree-nested.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c index 27986f6..4af70e9 100644 --- a/gcc/tree-nested.c +++ b/gcc/tree-nested.c @@ -436,7 +436,7 @@ static tree init_tmp_var (struct nesting_info *info, tree exp, gimple_stmt_iterator *gsi) { tree t; - gimple stmt; + gimple *stmt; t = create_tmp_var_for (info, TREE_TYPE (exp), NULL); stmt = gimple_build_assign (t, exp); @@ -467,7 +467,7 @@ static tree save_tmp_var (struct nesting_info *info, tree exp, gimple_stmt_iterator *gsi) { tree t; - gimple stmt; + gimple *stmt; t = create_tmp_var_for (info, TREE_TYPE (exp), NULL); stmt = gimple_build_assign (exp, t); @@ -1311,7 +1311,7 @@ convert_nonlocal_reference_stmt (gimple_stmt_iterator *gsi, bool *handled_ops_p, struct nesting_info *info = (struct nesting_info *) wi->info; tree save_local_var_chain; bitmap save_suppress; - gimple stmt = gsi_stmt (*gsi); + gimple *stmt = gsi_stmt (*gsi); switch (gimple_code (stmt)) { @@ -1892,7 +1892,7 @@ convert_local_reference_stmt (gimple_stmt_iterator *gsi, bool *handled_ops_p, struct nesting_info *info = (struct nesting_info *) wi->info; tree save_local_var_chain; bitmap save_suppress; - gimple stmt = gsi_stmt (*gsi); + gimple *stmt = gsi_stmt (*gsi); switch (gimple_code (stmt)) { @@ -2079,7 +2079,7 @@ convert_nl_goto_reference (gimple_stmt_iterator *gsi, bool *handled_ops_p, struct nesting_info *const info = (struct nesting_info *) wi->info, *i; tree label, new_label, target_context, x, field; gcall *call; - gimple stmt = gsi_stmt (*gsi); + gimple *stmt = gsi_stmt (*gsi); if (gimple_code (stmt) != GIMPLE_GOTO) { @@ -2172,7 +2172,7 @@ convert_nl_goto_receiver (gimple_stmt_iterator *gsi, bool *handled_ops_p, gsi_prev (&tmp_gsi); if (gsi_end_p (tmp_gsi) || gimple_stmt_may_fallthru (gsi_stmt (tmp_gsi))) { - gimple stmt = gimple_build_goto (label); + gimple *stmt = gimple_build_goto (label); gsi_insert_before (gsi, stmt, GSI_SAME_STMT); } @@ -2269,7 +2269,7 @@ convert_tramp_reference_stmt (gimple_stmt_iterator *gsi, bool *handled_ops_p, struct walk_stmt_info *wi) { struct nesting_info *info = (struct nesting_info *) wi->info; - gimple stmt = gsi_stmt (*gsi); + gimple *stmt = gsi_stmt (*gsi); switch (gimple_code (stmt)) { @@ -2369,7 +2369,7 @@ convert_gimple_call (gimple_stmt_iterator *gsi, bool *handled_ops_p, tree decl, target_context; char save_static_chain_added; int i; - gimple stmt = gsi_stmt (*gsi); + gimple *stmt = gsi_stmt (*gsi); switch (gimple_code (stmt)) { @@ -2721,7 +2721,7 @@ static void finalize_nesting_tree_1 (struct nesting_info *root) { gimple_seq stmt_list; - gimple stmt; + gimple *stmt; tree context = root->context; struct function *sf; |