diff options
author | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-22 08:35:32 +0000 |
---|---|---|
committer | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-22 08:35:32 +0000 |
commit | 6940c58b59d91f9bd9c7bfe4d32d0dc5b6a8c31f (patch) | |
tree | 85ba11c4cc05dc3bfb8ae32eb9b3184b4552c91d /gcc/df-scan.c | |
parent | 3f55c2b559a277ff548eba9c0b5f8780459197e2 (diff) | |
download | gcc-6940c58b59d91f9bd9c7bfe4d32d0dc5b6a8c31f.tar.gz |
2012-05-22 Dimitrios Apostolou <jimis@gmx.net>
* df-scan.c (df_scan_alloc): Round up allocation pools size, reduce
the mw_reg_pool size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187760 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-scan.c')
-rw-r--r-- | gcc/df-scan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/df-scan.c b/gcc/df-scan.c index 39f444f9fc5..730742acac5 100644 --- a/gcc/df-scan.c +++ b/gcc/df-scan.c @@ -318,7 +318,7 @@ df_scan_alloc (bitmap all_blocks ATTRIBUTE_UNUSED) { struct df_scan_problem_data *problem_data; unsigned int insn_num = get_max_uid () + 1; - unsigned int block_size = 400; + unsigned int block_size = 512; basic_block bb; /* Given the number of pools, this is really faster than tearing @@ -347,7 +347,7 @@ df_scan_alloc (bitmap all_blocks ATTRIBUTE_UNUSED) sizeof (struct df_reg_info), block_size); problem_data->mw_reg_pool = create_alloc_pool ("df_scan mw_reg", - sizeof (struct df_mw_hardreg), block_size); + sizeof (struct df_mw_hardreg), block_size / 16); bitmap_obstack_initialize (&problem_data->reg_bitmaps); bitmap_obstack_initialize (&problem_data->insn_bitmaps); |