diff options
author | David Edelsohn <edelsohn@gnu.org> | 2005-10-05 19:11:42 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2005-10-05 15:11:42 -0400 |
commit | f935b9e01baa27a130b3ac6d2ce0e70b9a3607b1 (patch) | |
tree | ebf6e7d56d37c7076a349d34eeba8ef96a819dfa /gcc/bb-reorder.c | |
parent | 31131ac1e6325565c3927b57ef3d4bd3bf6c042b (diff) | |
download | gcc-f935b9e01baa27a130b3ac6d2ce0e70b9a3607b1.zip gcc-f935b9e01baa27a130b3ac6d2ce0e70b9a3607b1.tar.gz gcc-f935b9e01baa27a130b3ac6d2ce0e70b9a3607b1.tar.bz2 |
params.def (PARAM_MAX_GROW_COPY_BB_INSNS): New.
* 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.
From-SVN: r105011
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 68d2cd8..8bf37af 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) { |