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/ipa-icf-gimple.h | |
parent | e4f2a3e4588bbc3691b452d8a2c520e8196b0ef3 (diff) |
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/ipa-icf-gimple.h')
-rw-r--r-- | gcc/ipa-icf-gimple.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ipa-icf-gimple.h b/gcc/ipa-icf-gimple.h index 6a9cbed5ff4..2fe717e8127 100644 --- a/gcc/ipa-icf-gimple.h +++ b/gcc/ipa-icf-gimple.h @@ -87,7 +87,7 @@ return_with_result (bool result, const char *func, unsigned int line) FUNC is name of function and LINE is location in the source file. */ static inline bool -return_different_stmts_1 (gimple s1, gimple s2, const char *code, +return_different_stmts_1 (gimple *s1, gimple *s2, const char *code, const char *func, unsigned int line) { if (dump_file && (dump_flags & TDF_DETAILS)) @@ -165,11 +165,11 @@ public: /* Verifies for given GIMPLEs S1 and S2 that assignment statements are semantically equivalent. */ - bool compare_gimple_assign (gimple s1, gimple s2); + bool compare_gimple_assign (gimple *s1, gimple *s2); /* Verifies for given GIMPLEs S1 and S2 that condition statements are semantically equivalent. */ - bool compare_gimple_cond (gimple s1, gimple s2); + bool compare_gimple_cond (gimple *s1, gimple *s2); /* Verifies for given GIMPLE_LABEL stmts S1 and S2 that label statements are semantically equivalent. */ @@ -185,7 +185,7 @@ public: /* Verifies for given GIMPLEs S1 and S2 that goto statements are semantically equivalent. */ - bool compare_gimple_goto (gimple s1, gimple s2); + bool compare_gimple_goto (gimple *s1, gimple *s2); /* Verifies for given GIMPLE_RESX stmts S1 and S2 that resx statements are semantically equivalent. */ |