diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-09 19:19:40 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-09 19:19:40 +0000 |
commit | cc9c1c510d2b6a61f7655cc01f65f06ec52365ec (patch) | |
tree | 1e0d0defe7e6cc65d0b83210c13086a8e138a25b /gcc/tree-inline.h | |
parent | b72bdac58ca5c2519330742095abf4dbfe9262d7 (diff) | |
download | gcc-cc9c1c510d2b6a61f7655cc01f65f06ec52365ec.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131433 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-inline.h')
-rw-r--r-- | gcc/tree-inline.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/tree-inline.h b/gcc/tree-inline.h index dbb78d0b4cc..893b9c9d0ce 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; |