aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-object-size.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2015-09-24 11:27:12 +0200
committerThomas Schwinge <tschwinge@gcc.gnu.org>2015-09-24 11:27:12 +0200
commit60dd79ca89f7eb0c4bded86766c7d17d171aba7f (patch)
treec407e347c166e74d13bde53fb39cab0f1152c1e8 /gcc/tree-object-size.c
parentbc6e483f764f561e6d10e112e7a352c12695609e (diff)
downloadgcc-60dd79ca89f7eb0c4bded86766c7d17d171aba7f.zip
gcc-60dd79ca89f7eb0c4bded86766c7d17d171aba7f.tar.gz
gcc-60dd79ca89f7eb0c4bded86766c7d17d171aba7f.tar.bz2
Additional changes to switch from gimple to gimple *
gcc/ * tree-object-size.c (plus_stmt_object_size) (cond_expr_object_size): Change the formal parameters from gimple to gimple *. * tree-ssa-sccvn.h (vn_nary_op_insert_stmt): Likewise. * tree-ssa-sccvn.c (vn_nary_op_insert_stmt): Make it static. * tree-ssa-sccvn.h (vn_nary_op_insert_stmt): Don't declare. From-SVN: r228080
Diffstat (limited to 'gcc/tree-object-size.c')
-rw-r--r--gcc/tree-object-size.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-object-size.c b/gcc/tree-object-size.c
index f76f160..230761b 100644
--- a/gcc/tree-object-size.c
+++ b/gcc/tree-object-size.c
@@ -59,8 +59,8 @@ static void collect_object_sizes_for (struct object_size_info *, tree);
static void expr_object_size (struct object_size_info *, tree, tree);
static bool merge_object_sizes (struct object_size_info *, tree, tree,
unsigned HOST_WIDE_INT);
-static bool plus_stmt_object_size (struct object_size_info *, tree, gimple);
-static bool cond_expr_object_size (struct object_size_info *, tree, gimple);
+static bool plus_stmt_object_size (struct object_size_info *, tree, gimple *);
+static bool cond_expr_object_size (struct object_size_info *, tree, gimple *);
static void init_offset_limit (void);
static void check_for_plus_in_loops (struct object_size_info *, tree);
static void check_for_plus_in_loops_1 (struct object_size_info *, tree,