diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-10-05 19:11:42 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-10-05 19:11:42 +0000 |
commit | 6b6a21696710ecae0556a8ede7f235ac8dca56a9 (patch) | |
tree | ebf6e7d56d37c7076a349d34eeba8ef96a819dfa /gcc/bb-reorder.c | |
parent | f9f60b73f8fe02def7a3aa07d08af48569b34ad1 (diff) | |
download | gcc-6b6a21696710ecae0556a8ede7f235ac8dca56a9.tar.gz |
* params.def (PARAM_MAX_GROW_COPY_BB_INSNS): New.
* bb-reorder.c (copy_bb_p): Use it.
* doc/invoke.texi (param table): Add max-grow-copy-bb-insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105011 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bb-reorder.c')
-rw-r--r-- | gcc/bb-reorder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index 68d2cd88205..8bf37afe189 100644 --- a/gcc/bb-reorder.c +++ b/gcc/bb-reorder.c @@ -1173,7 +1173,7 @@ copy_bb_p (basic_block bb, int code_may_grow) return false; if (code_may_grow && maybe_hot_bb_p (bb)) - max_size *= 8; + max_size *= PARAM_VALUE (PARAM_MAX_GROW_COPY_BB_INSNS); FOR_BB_INSNS (bb, insn) { |