diff options
author | Jan Hubicka <jh@suse.cz> | 2010-06-07 18:17:55 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2010-06-07 16:17:55 +0000 |
commit | e7f96023b59971790496a7b35077b89ac4d69f4d (patch) | |
tree | f6d06e89b9855d2b736bed2e4aee5025c8eb7fb1 /gcc/df-core.c | |
parent | 4c2332c73b55fed5ab89b80ca314fb410be01c3f (diff) | |
download | gcc-e7f96023b59971790496a7b35077b89ac4d69f4d.zip gcc-e7f96023b59971790496a7b35077b89ac4d69f4d.tar.gz gcc-e7f96023b59971790496a7b35077b89ac4d69f4d.tar.bz2 |
df-problems.c (df_lr_problem_data): Add lr_bitmaps.
* df-problems.c (df_lr_problem_data): Add lr_bitmaps.
(df_lr_alloc): Initialize problem data; move bitmaps to
lr_bitmaps obstack.
(df_lr_finalize): Free problem data; do not bother to free bitmaps.
(df_lr_verify_solution_start): Do not initialize problem data;
allocate bitmaps in lr_bitmaps.
(df_lr_verify_solution_end): Do not free problem data.
From-SVN: r160382
Diffstat (limited to 'gcc/df-core.c')
-rw-r--r-- | gcc/df-core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/df-core.c b/gcc/df-core.c index 8c4b79b..6c9f5c9 100644 --- a/gcc/df-core.c +++ b/gcc/df-core.c @@ -1084,15 +1084,15 @@ df_analyze_problem (struct dataflow *dflow, { timevar_push (dflow->problem->tv_id); + /* (Re)Allocate the datastructures necessary to solve the problem. */ + if (dflow->problem->alloc_fun) + dflow->problem->alloc_fun (blocks_to_consider); + #ifdef ENABLE_DF_CHECKING if (dflow->problem->verify_start_fun) dflow->problem->verify_start_fun (); #endif - /* (Re)Allocate the datastructures necessary to solve the problem. */ - if (dflow->problem->alloc_fun) - dflow->problem->alloc_fun (blocks_to_consider); - /* Set up the problem and compute the local information. */ if (dflow->problem->local_compute_fun) dflow->problem->local_compute_fun (blocks_to_consider); |