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/gimple-streamer-in.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/gimple-streamer-in.c')
-rw-r--r-- | gcc/gimple-streamer-in.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/gimple-streamer-in.c b/gcc/gimple-streamer-in.c index 9659822c267..45bb45f52e4 100644 --- a/gcc/gimple-streamer-in.c +++ b/gcc/gimple-streamer-in.c @@ -88,11 +88,11 @@ input_phi (struct lto_input_block *ib, basic_block bb, struct data_in *data_in, /* Read a statement with tag TAG in function FN from block IB using descriptors in DATA_IN. */ -static gimple +static gimple * input_gimple_stmt (struct lto_input_block *ib, struct data_in *data_in, enum LTO_tags tag) { - gimple stmt; + gimple *stmt; enum gimple_code code; unsigned HOST_WIDE_INT num_ops; size_t i; @@ -279,7 +279,7 @@ input_bb (struct lto_input_block *ib, enum LTO_tags tag, tag = streamer_read_record_start (ib); while (tag) { - gimple stmt = input_gimple_stmt (ib, data_in, tag); + gimple *stmt = input_gimple_stmt (ib, data_in, tag); gsi_insert_after (&bsi, stmt, GSI_NEW_STMT); /* After the statement, expect a 0 delimiter or the EH region |