diff options
Diffstat (limited to 'gcc/df-scan.c')
-rw-r--r-- | gcc/df-scan.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gcc/df-scan.c b/gcc/df-scan.c index 010a4b8..93c2eae 100644 --- a/gcc/df-scan.c +++ b/gcc/df-scan.c @@ -138,12 +138,12 @@ static const unsigned int copy_all = copy_defs | copy_uses | copy_eq_uses /* Problem data for the scanning dataflow function. */ struct df_scan_problem_data { - pool_allocator<df_base_ref> *ref_base_pool; - pool_allocator<df_artificial_ref> *ref_artificial_pool; - pool_allocator<df_regular_ref> *ref_regular_pool; - pool_allocator<df_insn_info> *insn_pool; - pool_allocator<df_reg_info> *reg_pool; - pool_allocator<df_mw_hardreg> *mw_reg_pool; + object_allocator<df_base_ref> *ref_base_pool; + object_allocator<df_artificial_ref> *ref_artificial_pool; + object_allocator<df_regular_ref> *ref_regular_pool; + object_allocator<df_insn_info> *insn_pool; + object_allocator<df_reg_info> *reg_pool; + object_allocator<df_mw_hardreg> *mw_reg_pool; bitmap_obstack reg_bitmaps; bitmap_obstack insn_bitmaps; @@ -252,17 +252,17 @@ df_scan_alloc (bitmap all_blocks ATTRIBUTE_UNUSED) df_scan->problem_data = problem_data; df_scan->computed = true; - problem_data->ref_base_pool = new pool_allocator<df_base_ref> + problem_data->ref_base_pool = new object_allocator<df_base_ref> ("df_scan ref base", SCAN_PROBLEM_DATA_BLOCK_SIZE); - problem_data->ref_artificial_pool = new pool_allocator<df_artificial_ref> + problem_data->ref_artificial_pool = new object_allocator<df_artificial_ref> ("df_scan ref artificial", SCAN_PROBLEM_DATA_BLOCK_SIZE); - problem_data->ref_regular_pool = new pool_allocator<df_regular_ref> + problem_data->ref_regular_pool = new object_allocator<df_regular_ref> ("df_scan ref regular", SCAN_PROBLEM_DATA_BLOCK_SIZE); - problem_data->insn_pool = new pool_allocator<df_insn_info> + problem_data->insn_pool = new object_allocator<df_insn_info> ("df_scan insn", SCAN_PROBLEM_DATA_BLOCK_SIZE); - problem_data->reg_pool = new pool_allocator<df_reg_info> + problem_data->reg_pool = new object_allocator<df_reg_info> ("df_scan reg", SCAN_PROBLEM_DATA_BLOCK_SIZE); - problem_data->mw_reg_pool = new pool_allocator<df_mw_hardreg> + problem_data->mw_reg_pool = new object_allocator<df_mw_hardreg> ("df_scan mw_reg", SCAN_PROBLEM_DATA_BLOCK_SIZE / 16); bitmap_obstack_initialize (&problem_data->reg_bitmaps); |