aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2008-01-09 20:19:40 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2008-01-09 19:19:40 +0000
commit88743d3a8a58f119524f808d11bb3f7f0d0982e9 (patch)
tree1e0d0defe7e6cc65d0b83210c13086a8e138a25b /gcc/tree-inline.h
parentd4b7e62e443c269e1c50653a763a61a8ce7cc676 (diff)
downloadgcc-88743d3a8a58f119524f808d11bb3f7f0d0982e9.zip
gcc-88743d3a8a58f119524f808d11bb3f7f0d0982e9.tar.gz
gcc-88743d3a8a58f119524f808d11bb3f7f0d0982e9.tar.bz2
re PR tree-optimization/34708 (Inlining heuristics issue)
PR tree-optimization/34708 * tree-inline.c (estimate_num_insns_1): Compute cost of SWITCH_EXPR based on number of case labels. (init_inline_once): Remove switch_cost. * tree-inline.h (eni_weights_d): Remove switch_cost. From-SVN: r131433
Diffstat (limited to 'gcc/tree-inline.h')
-rw-r--r--gcc/tree-inline.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/tree-inline.h b/gcc/tree-inline.h
index dbb78d0..893b9c9 100644
--- a/gcc/tree-inline.h
+++ b/gcc/tree-inline.h
@@ -115,9 +115,6 @@ typedef struct eni_weights_d
/* Cost of "expensive" div and mod operations. */
unsigned div_mod_cost;
- /* Cost of switch statement. */
- unsigned switch_cost;
-
/* Cost for omp construct. */
unsigned omp_cost;
} eni_weights;