summaryrefslogtreecommitdiff
path: root/gcc/gimple-ssa.h
diff options
context:
space:
mode:
authortbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-09-20 00:52:59 +0000
committertbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-09-20 00:52:59 +0000
commit42acab1cd6812e2d9e49f4132176f5505f49a0e5 (patch)
treeaadb7908b4b80ecaf7e744ca1ae42a59a12b07ea /gcc/gimple-ssa.h
parent08d9039cffc7a572df5898c48fa080f7ce4b5076 (diff)
downloadgcc-42acab1cd6812e2d9e49f4132176f5505f49a0e5.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227941 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple-ssa.h')
-rw-r--r--gcc/gimple-ssa.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/gimple-ssa.h b/gcc/gimple-ssa.h
index 53cb46c1eae..c89071e8639 100644
--- a/gcc/gimple-ssa.h
+++ b/gcc/gimple-ssa.h
@@ -27,7 +27,7 @@ along with GCC; see the file COPYING3. If not see
or list of labels to represent transaction restart. */
struct GTY((for_user)) tm_restart_node {
- gimple stmt;
+ gimple *stmt;
tree label_or_list;
};
@@ -72,7 +72,7 @@ struct GTY(()) gimple_df {
indirect call has been turned into a noreturn call. When this
happens, all the instructions after the call are no longer
reachable and must be deleted as dead. */
- vec<gimple, va_gc> *modified_noreturn_calls;
+ vec<gimple *, va_gc> *modified_noreturn_calls;
/* Array of all SSA_NAMEs used in the function. */
vec<tree, va_gc> *ssa_names;
@@ -137,7 +137,7 @@ gimple_vop (const struct function *fun)
/* Return the set of VUSE operand for statement G. */
static inline use_operand_p
-gimple_vuse_op (const_gimple g)
+gimple_vuse_op (const gimple *g)
{
struct use_optype_d *ops;
const gimple_statement_with_memory_ops *mem_ops_stmt =
@@ -154,7 +154,7 @@ gimple_vuse_op (const_gimple g)
/* Return the set of VDEF operand for statement G. */
static inline def_operand_p
-gimple_vdef_op (gimple g)
+gimple_vdef_op (gimple *g)
{
gimple_statement_with_memory_ops *mem_ops_stmt =
dyn_cast <gimple_statement_with_memory_ops *> (g);
@@ -168,7 +168,7 @@ gimple_vdef_op (gimple g)
/* Mark statement S as modified, and update it. */
static inline void
-update_stmt (gimple s)
+update_stmt (gimple *s)
{
if (gimple_has_ops (s))
{
@@ -180,7 +180,7 @@ update_stmt (gimple s)
/* Update statement S if it has been optimized. */
static inline void
-update_stmt_if_modified (gimple s)
+update_stmt_if_modified (gimple *s)
{
if (gimple_modified_p (s))
update_stmt_operands (cfun, s);
@@ -189,7 +189,7 @@ update_stmt_if_modified (gimple s)
/* Mark statement S as modified, and update it. */
static inline void
-update_stmt_fn (struct function *fn, gimple s)
+update_stmt_fn (struct function *fn, gimple *s)
{
if (gimple_has_ops (s))
{