diff options
author | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-20 00:52:59 +0000 |
---|---|---|
committer | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-20 00:52:59 +0000 |
commit | 42acab1cd6812e2d9e49f4132176f5505f49a0e5 (patch) | |
tree | aadb7908b4b80ecaf7e744ca1ae42a59a12b07ea /gcc/symtab.c | |
parent | 08d9039cffc7a572df5898c48fa080f7ce4b5076 (diff) | |
download | gcc-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/symtab.c')
-rw-r--r-- | gcc/symtab.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/symtab.c b/gcc/symtab.c index 756a62d8c7b..c33aa016705 100644 --- a/gcc/symtab.c +++ b/gcc/symtab.c @@ -478,7 +478,7 @@ symtab_node::create_reference (symtab_node *referred_node, ipa_ref * symtab_node::create_reference (symtab_node *referred_node, - enum ipa_ref_use use_type, gimple stmt) + enum ipa_ref_use use_type, gimple *stmt) { ipa_ref *ref = NULL, *ref2 = NULL; ipa_ref_list *list, *list2; @@ -533,7 +533,7 @@ symtab_node::create_reference (symtab_node *referred_node, ipa_ref * symtab_node::maybe_create_reference (tree val, enum ipa_ref_use use_type, - gimple stmt) + gimple *stmt) { STRIP_NOPS (val); if (TREE_CODE (val) != ADDR_EXPR) @@ -588,7 +588,7 @@ symtab_node::clone_referring (symtab_node *node) /* Clone reference REF to this symtab_node and set its stmt to STMT. */ ipa_ref * -symtab_node::clone_reference (ipa_ref *ref, gimple stmt) +symtab_node::clone_reference (ipa_ref *ref, gimple *stmt) { bool speculative = ref->speculative; unsigned int stmt_uid = ref->lto_stmt_uid; @@ -605,7 +605,7 @@ symtab_node::clone_reference (ipa_ref *ref, gimple stmt) ipa_ref * symtab_node::find_reference (symtab_node *referred_node, - gimple stmt, unsigned int lto_stmt_uid) + gimple *stmt, unsigned int lto_stmt_uid) { ipa_ref *r = NULL; int i; @@ -623,7 +623,7 @@ symtab_node::find_reference (symtab_node *referred_node, /* Remove all references that are associated with statement STMT. */ void -symtab_node::remove_stmt_references (gimple stmt) +symtab_node::remove_stmt_references (gimple *stmt) { ipa_ref *r = NULL; int i = 0; |