aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.h
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2015-09-24 08:25:13 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2015-09-24 08:25:13 +0000
commitfcb901cdfac9321b0202d800621f06b2aafd5bee (patch)
treecdafb25aaf26090659e358891173245c121cbd7b /gcc/tree-inline.h
parent1fefbb66c8282a4d9e74dc178a3578e4c302862f (diff)
downloadgcc-fcb901cdfac9321b0202d800621f06b2aafd5bee.zip
gcc-fcb901cdfac9321b0202d800621f06b2aafd5bee.tar.gz
gcc-fcb901cdfac9321b0202d800621f06b2aafd5bee.tar.bz2
[tree-inline][obvious] Delete redundant count_insns_seq
* tree-inline.h (count_insns_seq): Delete prototype. (estimate_num_insns_seq): Define prototype. * tree-inline.c (count_insns_seq): Delete. (estimate_num_insns_seq): Remove static qualifier. * tree-eh.c (decide_copy_try_finally): Replace use of count_insns_seq with estimate_num_insns_seq. From-SVN: r228075
Diffstat (limited to 'gcc/tree-inline.h')
-rw-r--r--gcc/tree-inline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-inline.h b/gcc/tree-inline.h
index f0e5436..b8fb2a2 100644
--- a/gcc/tree-inline.h
+++ b/gcc/tree-inline.h
@@ -207,7 +207,7 @@ tree copy_decl_no_change (tree decl, copy_body_data *id);
int estimate_move_cost (tree type, bool);
int estimate_num_insns (gimple *, eni_weights *);
int estimate_num_insns_fn (tree, eni_weights *);
-int count_insns_seq (gimple_seq, eni_weights *);
+int estimate_num_insns_seq (gimple_seq, eni_weights *);
bool tree_versionable_function_p (tree);
extern tree remap_decl (tree decl, copy_body_data *id);
extern tree remap_type (tree type, copy_body_data *id);